Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pr-1859
  • Loading branch information
patrickdalla committed Nov 7, 2023
2 parents b9e8f24 + 2682c9d commit 50f79eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ public void parse(InputStream indexFile, ContentHandler handler, Metadata metada
// Sort messages by timestamp in ascending order
Collections.sort(discordRoot);

XHTMLContentHandler xhtml = new XHTMLContentHandler(handler, chatMeta);
byte[] relatorio = new DiscordHTMLReport().convertToHTML(discordRoot, searcher);
XHTMLContentHandler xhtml = new XHTMLContentHandler(handler, chatMeta);
byte[] relatorio = new DiscordHTMLReport().convertToHTML(discordRoot, searcher);

InputStream targetStream = new ByteArrayInputStream(relatorio);
extractor.parseEmbedded(targetStream, handler, chatMeta, true);
Expand Down

0 comments on commit 50f79eb

Please sign in to comment.