enclose highlight text in html tags for correctness

This commit is contained in:
adam-m 2012-12-28 18:17:32 -05:00
parent 55332e0076
commit c0f59153b8

View File

@ -357,7 +357,7 @@ class HighlightedMatchesSource implements MarkupSource, HighlightLookup {
highlightedContent = insertAnchors(highlightedContent);
return "<pre>" + highlightedContent + "</pre>";
return "<html><pre>" + highlightedContent + "</pre></html>";
}
} catch (NoOpenCoreException ex) {
logger.log(Level.WARNING, "Couldn't query markup for page: " + currentPage, ex);