Skip to content

Commit cc3bb0a

Browse files
committed
Pass the UNSAFE option to commonmark
1 parent 7ed2a62 commit cc3bb0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/github-pages/configuration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def restrict_and_config_markdown_processor(config)
153153
config["markdown"] = "CommonMarkGhPages"
154154
config["commonmark"] = {
155155
"extensions" => %w(table strikethrough autolink tagfilter),
156-
"options" => %w(footnotes),
156+
"options" => %w(unsafe footnotes),
157157
}
158158
end
159159

spec/github-pages/configuration_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
expect(effective_config["markdown"]).to eql("CommonMarkGhPages")
8484
expect(effective_config["commonmark"]).to eql(
8585
"extensions" => %w(table strikethrough autolink tagfilter),
86-
"options" => %w(footnotes)
86+
"options" => %w(unsafe footnotes)
8787
)
8888
end
8989
end

0 commit comments

Comments
 (0)