diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-12-15 04:59:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 04:59:02 +0100 |
commit | f6ea66cf10f399208ba5c8b01ad5bf323350f651 (patch) | |
tree | f69ad050434932e4426f65e37e61f8ac699b0d21 /plugins/base/src/test | |
parent | 4777e6723e787d0aff1b6d2f50bf2f0229253fe4 (diff) | |
download | dokka-f6ea66cf10f399208ba5c8b01ad5bf323350f651.tar.gz dokka-f6ea66cf10f399208ba5c8b01ad5bf323350f651.tar.bz2 dokka-f6ea66cf10f399208ba5c8b01ad5bf323350f651.zip |
Bump Jsoup to avoid CVE-2022-36033 (#2772)
Fixes #2754
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r-- | plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt b/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt index 67e4d16f..0ed5af9f 100644 --- a/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt +++ b/plugins/base/src/test/kotlin/transformerBuilders/PageTransformerBuilderTest.kt @@ -197,7 +197,7 @@ class PageTransformerBuilderTest : BaseAbstractTest() { assertContains(generatedFiles.keys, "scripts/symbol-parameters-wrapper_deferred.js") val scripts = generatedFiles.getValue("root/test/-test/-test.html").let { Jsoup.parse(it) }.select("script") - val deferredScriptSources = scripts.filter { it.hasAttr("defer") }.map { it.attr("src") } + val deferredScriptSources = scripts.filter { element -> element.hasAttr("defer") }.map { it.attr("src") } // important to check symbol-parameters-wrapper_deferred specifically since it might break some features assertContains(deferredScriptSources, "../../../scripts/symbol-parameters-wrapper_deferred.js") |