-
- Downloads
Remove \n from inside empty <ol>s
When there are no list items, the <ol>s are now rendered as <ol></ol>, which means they can be selected in CSS with ol:empty (to e.g. display: none), because :empty only ignores comments inside HTML tags. This will be unnecessary once browsers support the :blank selector, which will build on :empty to also ignore whitespace.
Loading
Please register or sign in to comment