diff --git a/lib/github-pages/configuration.rb b/lib/github-pages/configuration.rb index f1759a74..f4263e5b 100644 --- a/lib/github-pages/configuration.rb +++ b/lib/github-pages/configuration.rb @@ -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 diff --git a/spec/github-pages/configuration_spec.rb b/spec/github-pages/configuration_spec.rb index 36137e17..f9ced55a 100644 --- a/spec/github-pages/configuration_spec.rb +++ b/spec/github-pages/configuration_spec.rb @@ -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