Skip to content

Commit

Permalink
馃憣 IMPROVE: Allow <meta> html tag to appear in an inline context.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Mar 10, 2021
1 parent ccbe70b commit 2984159
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion markdown_it/common/html_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"main",
"menu",
"menuitem",
"meta",
"nav",
"noframes",
"ol",
Expand Down
13 changes: 13 additions & 0 deletions tests/test_port/fixtures/commonmark_extras.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,19 @@ List item terminating quote should not be paragraph continuation
</ol>
.

Allow meta tag in an inline context, commonmark/commonmark-spec#527.
.
City:
<span itemprop="contentLocation" itemscope itemtype="https://schema.org/City">
<meta itemprop="name" content="Springfield">
</span>
.
<p>City:
<span itemprop="contentLocation" itemscope itemtype="https://schema.org/City">
<meta itemprop="name" content="Springfield">
</span></p>
.

Coverage. Directive can terminate paragraph.
.
a
Expand Down

0 comments on commit 2984159

Please sign in to comment.