Skip to content

Commit

Permalink
Merge PR #95
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Apr 13, 2023
2 parents 0df08da + 9379b11 commit de1fe4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module BetterHtml
module TestHelper
module SafeErb
class AllowedScriptType < Base
VALID_JAVASCRIPT_TAG_TYPES = ["application/ld+json", "text/javascript", "text/template", "text/html"]
VALID_JAVASCRIPT_TAG_TYPES = ["application/ld+json", "text/javascript", "text/template", "text/html", "module"]

def validate
script_tags.each do |tag, _|
Expand Down

0 comments on commit de1fe4d

Please sign in to comment.