Re: [whatwg/dom] "then increase hiddenSubtreeLevel by " (#564)

The problem is caused by the "1." being line-wrapped to the start of the next line. *In general*, no, you can't get around this; lines starting with "1." or similiar kicking off a list immediately is a common feature of all valid markdown processors, and is explicitly captured in the CommonMark spec.

However, you're in luck! CommonMark explicitly calls out *this exact case* (the "1." being the *only* content on the line) and makes it *not* start a list, which means Bikeshed is buggy.  I'll file an issue and fix soon.

(In general, if a line that *looks* like it should start a list is immediately preceded by paragraph lines, it won't start a list if the list-marker is the only content on that line, or if it's a numbered list other than "1.".)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/564#issuecomment-361477553

Received on Tuesday, 30 January 2018 04:59:15 UTC