File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 141141 coffee-script-source
142142 execjs
143143 coffee-script-source (1.12.2 )
144- commonmarker (0.23.10 )
144+ commonmarker (2.3.2 )
145+ rb_sys (~> 0.9 )
145146 concurrent-ruby (1.3.5 )
146147 crass (1.0.6 )
147148 css_parser (1.14.0 )
385386 zeitwerk (~> 2.5 )
386387 rainbow (3.1.1 )
387388 rake (13.3.0 )
389+ rake-compiler-dock (1.9.1 )
388390 rb-fsevent (0.11.2 )
389391 rb-inotify (0.10.1 )
390392 ffi (~> 1.0 )
393+ rb_sys (0.9.117 )
394+ rake-compiler-dock (= 1.9.1 )
391395 rdoc (6.14.2 )
392396 erb
393397 psych (>= 4.0.0 )
498502 terser (1.2.6 )
499503 execjs (>= 0.3.0 , < 3 )
500504 thor (1.4.0 )
501- tilt (2.3.0 )
505+ tilt (2.6.1 )
502506 timecop (0.9.10 )
503507 timeout (0.4.3 )
504508 turbo-rails (2.0.12 )
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