emmet isn't expanding with newlines

In a jsx file, if I try expanding

form>label+input

I wind up with 

<form action=""><label htmlFor=""></label><input type="text"/></form>

I'm expecting to see 

<form action="">
<label htmlFor=""></label>
<input type="text"/>
</form>
2 comments
Comment actions Permalink

When expanding Emmet abbreviations, code is reformatted according to code style preferences. What is a result of formatting your file with Code > Reformat Code? Could you check if removing both label and input from Settings | Editor | Code Style | HTML | Other, Inline Elements: makes things any better?

0
Comment actions Permalink

Yes, that worked. Thanks!

0

Please sign in to leave a comment.