Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Line breaks are converted to “rn”

$
0
0

Replies: 0

Hi, first a “thank you”, very nice from you to supply us with your plugin.

However, I’m having trouble using line breaks and list markup with your plugin.

Upon saving a post line breaks are converted to “rn” and with list items I also get a “t” inserted into the markup. You can easily replicate this just by adding a line break and saving.
This is what I get for example (in the editor as well as in the frontend):
<ul>rn t<li>List item</li>rn t<li>List item</li></ul>
while it should be

<ul>
	<li>List item</li>
	<li>List item</li>
</ul>

While I can manually remove all breaks and within standard text replace them with <br> and <p> etc. this is not really desirable for anyone.

FYI: I’m using the classic editor.

Hope you can look into that.

Cheers
j


Viewing all articles
Browse latest Browse all 59525

Trending Articles