[Plugin: Audio Player] Double newline in processContent gets replaced by wpautop
-
Using Audio Player version 2.0.4.1.
Under certain circumstances, the output from function processContent is being filtered by wpautop and it is replacing the “\n\n” with a paragraph tag.
Both:
<span><a href="https://sample.com/sample.mp3">Sample</a></span>
and:
<span>[audio: https://sample.com/sample.mp3 ]</span>
Will result in
<p></span>
because of the “\n\n” within processContent.Perhaps output that might be filtered by wpautop should not output double newline characters?
Thanks for the great plugin, otherwise.
- The topic ‘[Plugin: Audio Player] Double newline in processContent gets replaced by wpautop’ is closed to new replies.