Assuming | is the cursor, if I try to open a paragraph tag by typing <p> at the beginning of the following line:
|Lorem ipsum dolor sit amet
I will end up with this:
<p>|</p>Lorem ipsum dolor sit amet
This is not what I want to happen, and it is a frequent occurrence that I end up with something like this when editing HTML. Ideally, if the cursor has no whitespace following it, there would be two options.
Don't add an ending tag
Lorem<p>| ipsum dolor sit amet
If the cursor was originally at the beginning of the line, add an ending tag at the end of the line
Assuming
|
is the cursor, if I try to open a paragraph tag by typing<p>
at the beginning of the following line:I will end up with this:
This is not what I want to happen, and it is a frequent occurrence that I end up with something like this when editing HTML. Ideally, if the cursor has no whitespace following it, there would be two options.