CodeKicker.BBCode
This class is useful for creating a custom parser. You can customize which tags are available
and how they are translated to HTML.
In order to use this library, we require a link to http://codekicker.de/ from you. Licensed unter the Creative Commons Attribution 3.0 Licence: http://creativecommons.org/licenses/by/3.0/.
Every syntax error throws a BBCodeParsingException.
Syntax errors with obvious meaning will be corrected automatically.
The parser will never throw an exception. Invalid tags like "array[0]" will be interpreted as text.
Transforms the given BBCode into safe HTML with the default configuration from http://codekicker.de
This method is thread safe.
In order to use this library, we require a link to http://codekicker.de/ from you. Licensed unter the Creative Commons Attribution 3.0 Licence: http://creativecommons.org/licenses/by/3.0/.
A non-null string of valid BBCode.
Encodes an arbitrary string to be valid BBCode. Example: "[b]" => "\[b\]". The resulting string is safe against
BBCode-Injection attacks.
In order to use this library, we require a link to http://codekicker.de/ from you. Licensed unter the Creative Commons Attribution 3.0 Licence: http://creativecommons.org/licenses/by/3.0/.
Decodes a string of BBCode that only contains text (no tags). Example: "\[b\]" => "[b]". This is the reverse
oepration of EscapeText.
In order to use this library, we require a link to http://codekicker.de/ from you. Licensed unter the Creative Commons Attribution 3.0 Licence: http://creativecommons.org/licenses/by/3.0/.