diff options
Diffstat (limited to 'framework/3rdParty/TextHighlighter/Text')
-rw-r--r-- | framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/Html.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/Html.php b/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/Html.php index b89683d8..40cb3f59 100644 --- a/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/Html.php +++ b/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer/Html.php @@ -289,6 +289,8 @@ class Text_Highlighter_Renderer_Html extends Text_Highlighter_Renderer_Array // get parent's output
parent::finalize();
$output = parent::getOutput();
+ if(empty($output))
+ return;
$html_output = '';
// loop through each class=>content pair
|