Bug weird behaviour when mixing BBCode with magic links

Discussion in 'Support & Feedback' started by MhW, May 20, 2012.

  1. #1
    Noticed this weird bug when informing a client about the change of a domain extension.

    http://www.sitexyz[b ].com[/b ]
    Code (markup):
    http://www.sitexyz.com
    Extension turns bold, but should really be bold and the whole thing remain a link. In this case it looks like the automatically inserted [url ] [ /url] tags don't like the [ b] [/ b] tags and are closing prematurely.

    contact@sitexyz[b ].com[/b ]
    Code (markup):
    [/b]
    This is where stuff gets messed up. The bbCode is getting parsed, but the automatically generated clicky email link doesn't like the HTML.

    Just seems weird. Trivial, but odd.
     
    Last edited: May 20, 2012
    MhW, May 20, 2012 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Yep... you would probably want to actually build the link with BBCode rather than use the auto-linker in that case.
     
    digitalpoint, May 20, 2012 IP