diff --git a/src/main/kotlin/ris58h/webcalm/html/HtmlRelatedScriptsProcessor.kt b/src/main/kotlin/ris58h/webcalm/html/HtmlRelatedScriptsProcessor.kt index ed41dae..c2f75c6 100644 --- a/src/main/kotlin/ris58h/webcalm/html/HtmlRelatedScriptsProcessor.kt +++ b/src/main/kotlin/ris58h/webcalm/html/HtmlRelatedScriptsProcessor.kt @@ -63,5 +63,5 @@ class HtmlRelatedScriptsProcessor : RelatedScriptsProcessor { fun isJavaScriptScriptTag(scriptTag: XmlTag): Boolean { val type = scriptTag.getAttributeValue("type") - return type.isNullOrEmpty() || type == "text/javascript" + return type.isNullOrEmpty() || type == "text/javascript" || type == "module" } \ No newline at end of file