WordPress.org

Ready to get started?Download WordPress

Forums

GD bbPress Tools
[resolved] URL BBCode Tag with ending slash breaks the anchor (2 posts)

  1. tweichart
    Member
    Posted 10 months ago #

    Hey there,

    just tried your plugin and I've found a small error...
    If you use e.g.
    [url=http://google.com]Google[/url]
    everything works fine. Having a slash at the end of the URL (happens sometimes), it breaks, e.g:
    [url=http://google.com/]Google[/url]
    and just gives me a markup like
    <a class="d4pbbc-url" target="_blank" href="http://google.com" rel="nofollow"></a> Google[/url]

    Greetings

    http://wordpress.org/plugins/gd-bbpress-tools/

  2. Milan Petrovic
    Member
    Plugin Author

    Posted 10 months ago #

    Sorry, nothing can be done here. WordPress shortcodes parser is causing the problem, and breaking the shortcode. Problem is that if the shortcode has /] it is considered and of the shortcode. You can use quotes around URL to avoid this.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.