phpBB-BBCode-Javascript-Parser icon indicating copy to clipboard operation
phpBB-BBCode-Javascript-Parser copied to clipboard

Converts BBCode to HTML and from HTML to BBCode using javascript

Results 4 phpBB-BBCode-Javascript-Parser issues
Sort by recently updated
recently updated
newest added

hi, i found out about this javascript parser from this article: http://coursesweb.net/javascript/convert-bbcode-html-javascript_cs i needed this integrated with an Angular4 app i'm working on, so i converted it into TypeScript for...

"TEXT" regex cannot match with multiline

This is a great script, thanks! However, while trying to parse bbcode into html I am unable to parse bbcode where there is a newline inside it. Try parsing this......

bbcodeParser.htmlToBBCode doesn't work with complex tags. For instance: bbcodeParser.addBBCode('[quote={TEXT1}]{TEXT2}[/quote]', '{TEXT1}{TEXT2}'); var bbcode = bbcodeParser.htmlToBBCode('AuthorMy message'); It returns the same HTML string, but not BB code string.