When I enter the following code into the text editor and save, the resulting code looks different. That's so annoying.
Code I enter:
<div> <a href="#">Link1</a> <a href="#">Link2</a> <div>Sample text</div> </div>
Code I get:
<div> <a href="#">Link1</a> <br> <a href="#">Link2</a> <p></p> <div>Sample text</div> </div>
Where do these br and the empty p tag come from? I haven't asked for them. Why can't the text editor just return the code I entered? What's the point of a html/text editor when it changes the code at its own discretion?
Can I do something to get rid of the these tags? What do I have to enter in the textfield to not get empty p-tags? Is there some kind of workaround?
The blog I need help with is iqatrophie.wordpress.com.