[Plugin: Audio Player] Double newline in processContent gets replaced by wpautop
Using Audio Player version 126.96.36.199.
Under certain circumstances, the output from function processContent is being filtered by wpautop and it is replacing the “\n\n” with a paragraph tag.
<span>[audio: http://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.