Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump comrak from 0.18.0 to 0.19.0 #255

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 92 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ source "https://rubygems.org/"

gemspec

gem "github_changelog_generator", "~> 1.16"

group :debug do
gem "amazing_print"
gem "debug"
Expand Down
2 changes: 1 addition & 1 deletion ext/commonmarker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
magnus = "0.6"
comrak = { version = "0.18", features = ["shortcodes"] }
comrak = { version = "0.19", features = ["shortcodes"] }
syntect = { version = "5.1", features = ["plist-load"] }

[lib]
Expand Down
3 changes: 0 additions & 3 deletions script/generate_changelog

This file was deleted.

30 changes: 15 additions & 15 deletions test/fixtures/upstream/spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5111,7 +5111,7 @@ the final rendered document.
.
<ul>
<li><input type="checkbox" disabled="" /> foo</li>
<li><input type="checkbox" disabled="" checked="" /> bar</li>
<li><input type="checkbox" checked="" disabled="" /> bar</li>
</ul>
````````````````````````````````

Expand All @@ -5124,10 +5124,10 @@ Task lists can be arbitrarily nested:
- [ ] bim
.
<ul>
<li><input type="checkbox" disabled="" checked="" /> foo
<li><input type="checkbox" checked="" disabled="" /> foo
<ul>
<li><input type="checkbox" disabled="" /> bar</li>
<li><input type="checkbox" disabled="" checked="" /> baz</li>
<li><input type="checkbox" checked="" disabled="" /> baz</li>
</ul>
</li>
<li><input type="checkbox" disabled="" /> bim</li>
Expand Down Expand Up @@ -6201,10 +6201,10 @@ stripped in this way:
No stripping occurs if the code span contains only spaces:

```````````````````````````````` example
` `
` `
` `
.
<p><code> </code>
<p><code> </code>
<code> </code></p>
````````````````````````````````

Expand Down Expand Up @@ -6926,7 +6926,7 @@ foo__bar__
```````````````````````````````` example
__foo, __bar__, baz__
.
<p><strong>foo, <strong>bar</strong>, baz</strong></p>
<p><strong>foo, bar, baz</strong></p>
````````````````````````````````


Expand Down Expand Up @@ -7197,7 +7197,7 @@ foo***bar***baz
```````````````````````````````` example
foo******bar*********baz
.
<p>foo<strong><strong><strong>bar</strong></strong></strong>***baz</p>
<p>foo<strong>bar</strong>***baz</p>
````````````````````````````````


Expand Down Expand Up @@ -7268,21 +7268,21 @@ __foo _bar_ baz__
```````````````````````````````` example
__foo __bar__ baz__
.
<p><strong>foo <strong>bar</strong> baz</strong></p>
<p><strong>foo bar baz</strong></p>
````````````````````````````````


```````````````````````````````` example
____foo__ bar__
.
<p><strong><strong>foo</strong> bar</strong></p>
<p><strong>foo bar</strong></p>
````````````````````````````````


```````````````````````````````` example
**foo **bar****
.
<p><strong>foo <strong>bar</strong></strong></p>
<p><strong>foo bar</strong></p>
````````````````````````````````


Expand Down Expand Up @@ -7567,14 +7567,14 @@ switching delimiters:
```````````````````````````````` example
****foo****
.
<p><strong><strong>foo</strong></strong></p>
<p><strong>foo</strong></p>
````````````````````````````````


```````````````````````````````` example
____foo____
.
<p><strong><strong>foo</strong></strong></p>
<p><strong>foo</strong></p>
````````````````````````````````


Expand All @@ -7585,7 +7585,7 @@ delimiters:
```````````````````````````````` example
******foo******
.
<p><strong><strong><strong>foo</strong></strong></strong></p>
<p><strong>foo</strong></p>
````````````````````````````````


Expand All @@ -7601,7 +7601,7 @@ Rule 14:
```````````````````````````````` example
_____foo_____
.
<p><em><strong><strong>foo</strong></strong></em></p>
<p><em><strong>foo</strong></em></p>
````````````````````````````````


Expand Down Expand Up @@ -10209,4 +10209,4 @@ closers:
+ Advance `current_position` to the next element in the stack.

After we're done, we remove all delimiters above `stack_bottom` from the
delimiter stack.
delimiter stack.
2 changes: 1 addition & 1 deletion test/footnotes_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_to_html
<section class="footnotes" data-footnotes>
<ol>
<li id="fn-1">
<p>This is a footnote <a href="#fnref-1" class="footnote-backref" data-footnote-backref aria-label="Back to content">↩</a></p>
<p>This is a footnote <a href="#fnref-1" class="footnote-backref" data-footnote-backref data-footnote-backref-idx="1" aria-label="Back to reference 1">↩</a></p>
</li>
</ol>
</section>
Expand Down
2 changes: 1 addition & 1 deletion test/tasklists_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_to_html
html = Commonmarker.to_html(text, options: { extension: { tasklist: true } })
expected = <<~HTML
<ul>
<li><input type="checkbox" disabled="" checked="" /> Add task list</li>
<li><input type="checkbox" checked="" disabled="" /> Add task list</li>
<li><input type="checkbox" disabled="" /> Define task list</li>
</ul>
HTML
Expand Down