File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def retrieve_title
2020 end
2121
2222 def dot_markdown ( text )
23- CommonMarker . render_html ( text , :DEFAULT ) . html_safe
23+ Commonmarker . to_html ( text ) . html_safe
2424 end
2525
2626 def belongs_to_group? ( group )
Original file line number Diff line number Diff line change 11# Remove the haml_markdown initaliser. The internals changed so the monkey-patching to implement a custom render method
2- # no longer works, but is also not necessary since the markdown filter uses CommonMarker anyway.
2+ # no longer works, but is also not necessary since the markdown filter uses Commonmarker anyway.
33
44# module Haml::Filters
55# remove_filter("Markdown") #remove the existing Markdown filter
88# include Haml::Filters::Base
99
1010# def render(text)
11- # CommonMarker.render_html (text, :DEFAULT ).html_safe
11+ # Commonmarker.to_html (text).html_safe
1212# end
1313# end
1414# end
You can’t perform that action at this time.
0 commit comments