WordPress.org

Forums

Audio Player
Double newline in processContent gets replaced by wpautop (1 post)

  1. Cisco
    Member
    Posted 4 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic