Extendible-BBCode-Parser
Extendible-BBCode-Parser copied to clipboard
Allows you to parse BBCode and to extend the markup to add your own tags. All major tags are supported and parser reports back any errors it finds.
Found in downstream https://github.com/xbmc/chorus2
Tags like `[br]` or `[hr]` or even ones that have attributes like `[tag=value]` or `[tag=value attribute=value]`. Are these not supported?
The process function used for sanitizing input does not process `"` and therefore in some cases (especially with custom tags) cause possibly XSS vulnerabilities. For example, if I created a...
I'm trying to use the url tag and I see the code for it, but I can't get it to work. I was unable to find an example of how...
Hello, hoping im missing something simple here as this library is exactly what I was looking for. So I have a "contentedable=true" div. This is a somewhat of a wysiwyg...
Right now If i give it this BBCode [quote] [/b]Testing [/quote] It won't parse at all, because of the misaligned tags. But since this is a fairly benign user error,...
Added class Parser.
To help users debug their BBCode markup and to generally enhance the level of error feedback, I've been validating the `params` and `content` in the `openTag` function of my tag...
Hi, I want to post text and image(s) in same post. Even if I enter it in different lines, final markup gets them in same line. Can we fix this...
`[email protected]` seems to get HTML tags wrong. Taking `Hello World!` as input, it produces `<;h1>;Hello World!<;/h1>;`. I had expected `<h1>Hello World!</h1>` Reproduction: ``` Example var result = XBBCODE.process({ text: "Hello...