mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #4805 from sleuthkit/no_html_newlines_5086
don't force newlines in HTML extraction. This was causing problems w…
This commit is contained in:
commit
77b7d157a2
@ -198,6 +198,7 @@ final class HtmlTextExtractor implements TextExtractor {
|
||||
renderer.setIncludeHyperlinkURLs(false);
|
||||
renderer.setDecorateFontStyles(false);
|
||||
renderer.setIncludeAlternateText(false);
|
||||
renderer.setMaxLineLength(0); // don't force wrapping
|
||||
return new StringReader(renderer.toString());
|
||||
} catch (IOException ex) {
|
||||
logger.log(Level.WARNING, "Error extracting HTML from content.", ex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user