Skip to content

Commit

Permalink
Remove lines added in #95.
Browse files Browse the repository at this point in the history
These said that a single `-` that could be interpreted as
either an empty list item or a setext header underline
should have the latter interpretation.  But now that the
spec says that an empty list item can't interrupt a paragraph,
this is unnecessary.

See commonmark/commonmark.js#222.
  • Loading branch information
jgm committed Jul 12, 2021
1 parent ab56f2e commit 499ebba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1330,10 +1330,7 @@ interpretable as a [code fence], [ATX heading][ATX headings],

A [setext heading underline](@) is a sequence of
`=` characters or a sequence of `-` characters, with no more than 3
spaces of indentation and any number of trailing spaces or tabs. If a line
containing a single `-` can be interpreted as an
empty [list items], it should be interpreted this way
and not as a [setext heading underline].
spaces of indentation and any number of trailing spaces or tabs.

The heading is a level 1 heading if `=` characters are used in
the [setext heading underline], and a level 2 heading if `-`
Expand Down

1 comment on commit 499ebba

@DougInAMug
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to express my interest here of keeping the previous version!

Please sign in to comment.