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

fix: failed commonmark examples 57 and 40 #1475

Merged
merged 2 commits into from Apr 18, 2019
Merged

fix: failed commonmark examples 57 and 40 #1475

merged 2 commits into from Apr 18, 2019

Conversation

Jocs
Copy link
Contributor

@Jocs Jocs commented Apr 17, 2019

Marked version:0.6.2

Markdown flavor: CommonMark

Description

Fixed commonmark example 40 and example 57, and related issue #1474

Example40

Markdown content
foo
    # bar

Expected Html
<p>foo
# bar</p>

Acutral html
<p>foo</p>
<pre><code># bar</code></pre>

Example57

Markdown content
Foo
    ---

Expected Html
<p>Foo
---</p>

Actural Html
<h2>Foo</h2>

Contributor

  • Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
  • no tests required for this PR.
  • If submitting new feature, it has been documented in the appropriate places.

Committer

In most cases, this should be a different person than the contributor.

  • Draft GitHub release notes have been updated.
  • CI is green (no forced merge required).
  • Merge PR

@styfle styfle merged commit 5d727cb into markedjs:master Apr 18, 2019
This was referenced Apr 23, 2020
zhenalexfan pushed a commit to zhenalexfan/MarkdownHan that referenced this pull request Nov 8, 2021
fix: failed commonmark examples 57 and 40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants