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

Unclosed fenced code block doesn't always run until the end of the document #6

balpha opened this Issue Sep 1, 2014 · 0 comments


None yet
1 participant

balpha commented Sep 1, 2014

Section 4.5 (Fenced code blocks) says (emph. mine)

If the end of the document is reached and no closing code fence has been found, the code block contains all of the lines after the opening code fence.

but this isn't necessarily true; it may also be the end of the containing block that ends the fenced block. Example 137 is an instance of this:

> ```

renders as


I'm not making this a pull request since I'm not 100% on the best wording here.

@jgm jgm closed this in 4bc4bf4 Sep 1, 2014

jgm added a commit that referenced this issue Jun 11, 2018

Remove `meta` from list of block tags... start condition #6 of HTML blocks.  meta tags are used
in some inline contexts (though this isn't valid HTML5), e.g.
in  Example:

This paragraph is closed right after an opening span:
<span itemprop="contentLocation" itemscope itemtype="">
  <meta itemprop="name" content="Springfield">
  <span itemprop="address" itemscope itemtype="">
    <meta itemprop="addressCountry" content="US">
    <span itemprop="addressLocality">Springfield</span>,
    <span itemprop="addressRegion">Oregon</span>
    <meta itemprop="postalCode" content="97477">

Closes #527.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment