Skip to content

Commit

Permalink
Merge pull request #821 from github/unsafe
Browse files Browse the repository at this point in the history
Pass the UNSAFE option to commonmark
  • Loading branch information
yoannchaudet authored Mar 4, 2022
2 parents 7ed2a62 + cc3bb0a commit dae9a01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/github-pages/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def restrict_and_config_markdown_processor(config)
config["markdown"] = "CommonMarkGhPages"
config["commonmark"] = {
"extensions" => %w(table strikethrough autolink tagfilter),
"options" => %w(footnotes),
"options" => %w(unsafe footnotes),
}
end

Expand Down
2 changes: 1 addition & 1 deletion spec/github-pages/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
expect(effective_config["markdown"]).to eql("CommonMarkGhPages")
expect(effective_config["commonmark"]).to eql(
"extensions" => %w(table strikethrough autolink tagfilter),
"options" => %w(footnotes)
"options" => %w(unsafe footnotes)
)
end
end
Expand Down

0 comments on commit dae9a01

Please sign in to comment.