BBCodeParser icon indicating copy to clipboard operation
BBCodeParser copied to clipboard

BB code parser written in TypeScript.

Results 12 BBCodeParser issues
Sort by recently updated
recently updated
newest added

As always, I import modules in the `app.module.ts`, but for some reason bbcode-parseq is not displayed as existing for me.

Seems that the latest is 1.0.10 from 3 years ago. Stumbled upon the double quotes problem for the attributes that seems to be not updated in npm.

Also added a fix for a test from a previous PR because it was failing

Hi I've noticed that there are some differences between the git repo and npm package. For example in `tokenizer.ts` the `var attrValueChars` have more characters and in NPM they're the...

allow optionally to disable HTML escaping

I fixed the regex parser to allow for [color] tags. This is directly in reference to issue #13. This will now parse the following: [color="#FFF"]test[/color] [color=#FFF]test[/color] [color = "#FFF"]test[/color] [color...

Changed tokenizer attributeValue to regex allowing evertything except ' and " which determines end of attribute value. Added suitable unit tests and fixed one of already exiting which was incorrect.

Hi, We came across this as we use this module to render bbCode within our forums. We noticed that this string in particular hangs: var parser = new BBCodeParser({}).parseString("[HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft SDKsSilverlightv4.0AssemblyFoldersEx]");...

Due to the URL of [img] tags not being checked, one could type: `[img]test.jpg" onError="alert('hi')[/img]]` Which shows existence of a possible XSS exploit. This is a critical issue in my...