php-parser

How to convert bbcode to html in usage of SCEditor

余生颓废 提交于 2019-12-08 12:15:51
问题 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. 来源: