diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index b08e0aabc..37285a668 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -603,8 +603,10 @@ $(document).ready( function() { break; default: $txt = $this->callHook('additionalDocumentPreview', $latestContent); - if(is_string($txt)) + if(is_string($txt)) { + $this->contentHeading(getMLText("preview")); echo $txt; + } break; } }