Skip to content

Commit

Permalink
Revert writing of all file paths for embedded contents of epub (TIKA-…
Browse files Browse the repository at this point in the history
…4219)
  • Loading branch information
tballison committed Mar 26, 2024
1 parent a4dc6b9 commit a501d0c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,9 @@ private void handleEmbedded(ZipFile zipFile, String relativePath, HRefMediaPair

xhtml.startElement("div", "class", "embedded");
try {
boolean outputHtml = true;
if (hRefMediaPair.media.contains("font") || hRefMediaPair.href.startsWith("fonts")) {
outputHtml = false;
}
embeddedDocumentExtractor
.parseEmbedded(stream, new EmbeddedContentHandler(xhtml), embeddedMetadata,
outputHtml);
false);

} finally {
IOUtils.closeQuietly(stream);
Expand Down

0 comments on commit a501d0c

Please sign in to comment.