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 141
141
coffee-script-source
142
142
execjs
143
143
coffee-script-source (1.12.2 )
144
- commonmarker (0.23.10 )
144
+ commonmarker (2.3.2 )
145
+ rb_sys (~> 0.9 )
145
146
concurrent-ruby (1.3.5 )
146
147
crass (1.0.6 )
147
148
css_parser (1.14.0 )
385
386
zeitwerk (~> 2.5 )
386
387
rainbow (3.1.1 )
387
388
rake (13.3.0 )
389
+ rake-compiler-dock (1.9.1 )
388
390
rb-fsevent (0.11.2 )
389
391
rb-inotify (0.10.1 )
390
392
ffi (~> 1.0 )
393
+ rb_sys (0.9.117 )
394
+ rake-compiler-dock (= 1.9.1 )
391
395
rdoc (6.14.2 )
392
396
erb
393
397
psych (>= 4.0.0 )
498
502
terser (1.2.6 )
499
503
execjs (>= 0.3.0 , < 3 )
500
504
thor (1.4.0 )
501
- tilt (2.3.0 )
505
+ tilt (2.6.1 )
502
506
timecop (0.9.10 )
503
507
timeout (0.4.3 )
504
508
turbo-rails (2.0.12 )
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