WordPress.org

Support

Support » Plugins and Hacks » GD bbPress Tools » [Resolved] URL BBCode Tag with ending slash breaks the anchor

[Resolved] URL BBCode Tag with ending slash breaks the anchor

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Milan Petrovic

    @gdragon

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] URL BBCode Tag with ending slash breaks the anchor’ is closed to new replies.
Skip to toolbar