WordPress.org

Forums

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

  1. tweichart
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GD bbPress Tools
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.