Please upgrade here. These earlier versions are no longer being updated and have security issues.

Html tag rendering

Hi,

after upgraded my forum from 2.0 to 2.1 some post content are being wrong rendered. Like that discussion: http://forum.novosga.org/discussion/149/triagem-touch#Comment_726

ps: The same problem occurs into dashboard plugins page (plugins url).

Have a configuration to fix it?

Regards

Tagged:

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    You need to fix you htaccess file for the urls and I don't see a problem with html on that page

    hgtonight
  • rogeriolinorogeriolino Vitoria New

    Hi @vrijvlinder , thanks for reply. See the last comment.

    When someone put a full hyperlink, it is parsed like this:

    <a href="<a href="[ http link ]" target="_blank" rel="nofollow">[ http link ]</a>"><a href="[ http link ]</a>" target="_blank" rel="nofollow">[ http link ]</a></a>

    You can see it into source-code:

    view-source:http://forum.novosga.org/discussion/149/triagem-touch

    at line 812

    ps: My forum was migrated from phpBB and use Html parser

  • must be a plugin or something I didn't see the double parsing in that example.

    grep is your friend.

  • rogeriolinorogeriolino Vitoria New

    Sorry @x00‌, the comment is in the last page. Follow the right url:

    http://forum.novosga.org/discussion/comment/726/#Comment_726

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Ok the link is getting wrapped twice. Somewhere the preg replace is causing this I think. Possibly keywords?
    jquery wrapAll ?
    Something that makes text clickable links ?
    html5 on some browsers.
    what version of php are you running?

    Best disable all the plugins and test until you find possible cause.

  • peregrineperegrine MVP
    edited August 2014

    does it only happen with old links (pre-migration) or new links as well.

    could be a remnant of the port, if new links work.

    since bbcode is non-standard you might have to adjust buttonbar to take account for your bbcode tag,
    or use a different bbcode tag.

    probably best not to use any bbcode type of plugins.

    are you using buttonbar as an editor?

    ps: The same problem occurs into dashboard plugins page (plugins url).

    got a sample screenshot with firebug or web-developer tools showing problem.

    you should upgrade to vanilla 2.1.1 - version 2.1 is out of date.

    you could try using

    [url=http://www.bbcode.org/]This be bbcode.org![/url]

    instead of

    [http link ]

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • The issue is appear to be do with input, it is Buttonbar not workign correctly.

    The ButtonBar that ship with vanilla 2.1 is 1.6 you are using 1.2.4

    grep is your friend.

    hgtonight
Sign In or Register to comment.