问题
I used SCEditor in my forum. I managed inserting bbcodes to database. But when I try to show codes in the page, bbcodes are shown without styling. No html, no style. Only bad bbcodes. I am investigating for a long time in its documentation pages but I did not find any php parser. Here is the screenshot.
Please, could you help me, how do I parse bbcode to html in PHP?回答1:
You can use SBBCodeParser. SCEditor and this class were coded by the same person. So it would be more compatible.
来源:https://stackoverflow.com/questions/17892183/how-to-convert-bbcode-to-html-in-usage-of-sceditor