WordPress.org

Support

Support » Plugins and Hacks » Audio Player » [Plugin: Audio Player] Double newline in processContent gets replaced by wpautop

[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="http://sample.com/sample.mp3">Sample</a></span>
    and:
    <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.

    http://wordpress.org/extend/plugins/audio-player/

  • The topic ‘[Plugin: Audio Player] Double newline in processContent gets replaced by wpautop’ is closed to new replies.
Skip to toolbar