CPColin / ceylon.markdown

A port of the commonmark.js Markdown parser and renderer to Ceylon
Apache License 2.0
5 stars 0 forks source link

Cover "tight list" logic with tests and pull it out to a utility function #11

Closed CPColin closed 6 years ago

CPColin commented 6 years ago

While working on #8, I noticed that both renderers perform certain checks involving Node.listTight when outputting paragraph elements. The logic in RawHtmlRenderer is covered by the spec tests. The logic in CeylonHtmlRenderer is identical, but is not covered by any tests. We should cover the logic, then pull it out to live in renderUtils.ceylon.