Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ java_binary(
"@com_google_protobuf//:protobuf_java",
"@io_bazel_rules_closure//java/io/bazel/rules/closure:webpath",
"@io_bazel_rules_closure//java/io/bazel/rules/closure/webfiles:build_info_java_proto",
"@org_jsoup",
"@org_jsoup_external",
],
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,6 @@ private static Document getFlattenedHTML5Document(Document document) {
}
}

// Create `<html>`, `<head>` and `<body>`.
flatDoc.normalise();

document.traverse(new FlatDocumentCopier(flatDoc));

for (Element subdoc : flatDoc.getElementsByTag("#root")) {
Expand Down
11 changes: 11 additions & 0 deletions third_party/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,14 @@ def tensorboard_workspace(name = ""):
],
licenses = ["notice"], # Apache 2.0
)

java_import_external(
name = "org_jsoup_external",
jar_sha256 = "436adf71fe9f326e04fe134cd2785b261f0f4b9b60876adda1de3b6919463394",
jar_urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/jsoup.org/packages/jsoup-1.21.1.jar",
"https://repo1.maven.org/maven2/org/jsoup/jsoup/1.21.1/jsoup-1.21.1.jar",
"https://jsoup.org/packages/jsoup-1.21.1.jar",
],
licenses = ["notice"], # MIT
)