mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
enclose highlight text in html tags for correctness
This commit is contained in:
parent
55332e0076
commit
c0f59153b8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user