wpautop introduces tags in the middle of tags
-
I didn’t tested with other tags but it seems that
wpautop
is introducing<br>
tags inside other<img>
tags if they contain line breaks between attributes.For example, this:
<img class="alignright" src="https://mydomain.com/myimage">
which is perfectly legit, will result in that:
<img class="alignright"<br/> src="https://mydomain.com/myimage">
which is obviously invalid.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wpautop introduces tags in the middle of tags’ is closed to new replies.