Skip to content

Commit 4544b83

Browse files
authored
Merge pull request #2264 from codebar/dependabot/bundler/commonmarker-2.3.2
chore(deps): bump commonmarker from 0.23.10 to 2.3.2
2 parents c80d873 + 2df793a commit 4544b83

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Gemfile.lock

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ GEM
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)
@@ -385,9 +386,12 @@ GEM
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)
@@ -498,7 +502,7 @@ GEM
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)

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

config/initializers/haml_markdown.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
@@ -8,7 +8,7 @@
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

0 commit comments

Comments
 (0)