You are here

constant SYNTAXHIGHLIGHTER_TAG_STRING in Syntax Highlighter 8

Define a placeholder for the syntaxhighlighter tag.

Use a completely nonsense word for replacement when filtering so there is absolutely no chance this will conflict with something in the content text.

2 uses of SYNTAXHIGHLIGHTER_TAG_STRING
FilterSyntaxHighlighter::prepare in src/Plugin/Filter/FilterSyntaxHighlighter.php
Escape the content text in preparation for filtering.
FilterSyntaxHighlighter::process in src/Plugin/Filter/FilterSyntaxHighlighter.php
Revert back to <pre> tag.

File

./syntaxhighlighter.module, line 42
Syntax highlight code using the SyntaxHighlighter Javascript library.

Code

const SYNTAXHIGHLIGHTER_TAG_STRING = '-_sYnTaXhIgHlIgHtEr_-';