WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Insert Callout] 1.0.3 breaks line breaks (2 posts)

  1. Arlo
    Member
    Posted 4 years ago #

    Hi - this is a great plug-in. However, 1.0.3 it breaks if you insert paragraphs in the editor (that is, it breaks on <p>).

    For example, this works:

    [callout title=Title]Foo. Bar.[/callout]

    But this doesn't:

    [callout title=Title]
    Foo. 
    
    Bar.
    [/callout]

    nor this:

    [callout title=Title]<p>Foo.</p><p>Bar.</p>[/callout]

    Thanks.

    http://wordpress.org/extend/plugins/insert-callout/

  2. dglambert
    Member
    Posted 4 years ago #

    Thanks for the heads-up. I took a quick look, and I believe the regular expression is failing to match callouts with breaks. I'll see if I can get the match working for those.

Topic Closed

This topic has been closed to new replies.

About this Topic