开发者

PEAR HTML_BBCodeParser displays backslashes before single and double quotes

I'm trying out the PEAR HTML_BBCodeParser script on my home server. For some reason, the script displays backslashes () before single and double quotes in the text after being parsed. I've skimmed through the code, but can't find the plac开发者_如何学运维e where it does this. Might have missed something--the file is 900 lines long! If anybody knows what function does this, or something to help me find the line of code, it would be highly appreciated. :)

Edit: Of note is that if you replace the single or double quote character with their HTML entity alternative ("/'), they will be parsed as expected.

Edit2: magic_quotes_gpc is turned off.


As @erenon points out in the comment to your posting it sounds like you have been hit by PHP Magic Quotes rather than a PEAR problem. Having said that, I have not used the BBCode parser, maybe it does something similar as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜