jBBCode
jBBCode copied to clipboard
A lightweight but extensible BBCode parser
Enhancement suggestion: Support for list tags [li] and its various attributes as well a [*] which indicated each new list item. Or is this currently possible some how?
Yes it's easy to create bb-codes for table [table], [th], [tr], [td] with `CodeDefinitionBuilder` like this ``` //table $builder = new CodeDefinitionBuilder('table', '{param}'); array_push($this->definitions, $builder->build()); //thead $builder = new CodeDefinitionBuilder('th',...
While working on #33 I noticed some inconsistencies in ending a tag option and proceeding to the next one: - in `OPTION_STATE_VALUE`, a trailing space is mandatory to detect the...
i'm enjoying jbbcode :) i just had to hack the core for my needs to do some replacements on plain text. i had to parse such plain text to put...
En el archivo https://github.com/jbowens/jBBCode/blob/d9a132e7886a11cf997e3ec025a41bdf97899704/JBBCode/Tokenizer.php#L29 ```php Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in ...\JBBCode\Tokenizer.php ``` Una posible solución fue añadir esto `if($str == NULL)...