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
20
20
end
21
21
22
22
def dot_markdown ( text )
23
- CommonMarker . render_html ( text , :DEFAULT ) . html_safe
23
+ Commonmarker . to_html ( text ) . html_safe
24
24
end
25
25
26
26
def belongs_to_group? ( group )
Original file line number Diff line number Diff line change 1
1
# 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.
3
3
4
4
# module Haml::Filters
5
5
# remove_filter("Markdown") #remove the existing Markdown filter
8
8
# include Haml::Filters::Base
9
9
10
10
# def render(text)
11
- # CommonMarker.render_html (text, :DEFAULT ).html_safe
11
+ # Commonmarker.to_html (text).html_safe
12
12
# end
13
13
# end
14
14
# end
You can’t perform that action at this time.
0 commit comments