Skip to:
Content
Pages
Categories
Search
Top
Bottom

&qu ot; &a mp; issue with code tag (code within backtick)


  • maharzan
    Member

    @maharzan

    Okay, have been searching google and this forum for long time and find there is no occurrences of it.. not even mention of it. So, wanted to ask everyone out here if they know what is happening..

    I am using double quotes in the code and trying to paste the code within backticks and while everything looks okay few html characters are rendering their ASCII code or something (html escape characters ??)

    For example,

    double quotes ( ” ) are rendered as &q uot;

    ampersands ( & ) are rendered as &a mp;

    ignore the spaces. I have disabled all the plugins, switched themes and looked over everything, but I still can’t figure out what is causing this. I saw several forums including bbpressshowcase which suffers from same problem. I don’t see that problem here in this forum.

    Can anyone shed some light for me?

    Thanks for all your help.

Viewing 8 replies - 1 through 8 (of 8 total)

  • maharzan
    Member

    @maharzan

    Example, instead of this,

    if($slideshow == "On" && $slideshow_status == "Static")

    it renders this…

    if($slideshow == "On" && $slideshow_status == "Static")


    chrishajer
    Participant

    @chrishajer

    What version bbPress are you using? Is it integrated with WordPress, and if so, what version? Are you using a language file other than English?

    Wait … I remember that issue. Or something like it… It was in 1.0alpha3 or 4 I think, around the time that quotes in links broke things.


    maharzan
    Member

    @maharzan

    using alpha 1.0 v 6.. is that the issue? and I would love to know the solution if any…

    thanks.


    maharzan
    Member

    @maharzan

    and yes using with wordpress 2.7.1. any ideas?


    Sam Bauers
    Participant

    @sambauers

    This was a bug. Fixed in trunk now.

    Old posts will need to be edited to get fixed. Hitting edit then save straight away should do it.


    maharzan
    Member

    @maharzan

    Great.. Thanks.

    Can you post which file you have edited.. so I can only replace that file?

    bb-includes/functions.bb-formatting.php ??


    Sam Bauers
    Participant

    @sambauers

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.