Skip to content

Treat <ol> like <ul> when parsing as HTML#23

Open
cyanogilvie wants to merge 4588 commits intotDOM:masterfrom
RubyLane:master
Open

Treat <ol> like <ul> when parsing as HTML#23
cyanogilvie wants to merge 4588 commits intotDOM:masterfrom
RubyLane:master

Conversation

@cyanogilvie
Copy link
Copy Markdown

<ol>
<li>first
<li>second
</ol>

was failing to parse with -html set. This patch adds the <ol> tag to the set that trigger autoclose.

I also added test cases to highlight the incorrect nesting of the <li> child nodes when this doc is parsed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant