fbrctr / fabricator

A tool for building website UI toolkits and style guides
http://fbrctr.github.io/
MIT License
1.11k stars 124 forks source link

White space not being removed #280

Closed kaydwithers closed 7 years ago

kaydwithers commented 7 years ago

For some reason Fabricator is ignoring white space.

i.e for inline-block elements. Adding a comment should remove white space but it does not work in Fabricator.

<ul>
    <li>Tab 1</li><!--

 --><li>Tab 2</li>
</ul>

Does anyone know what might be wrong? Any help would be greatly appreciated.

LeBenLeBen commented 7 years ago

Fabricator-assemble uses an HTML parser which "beautify" it. It is probably responsible for adding extra spaces here.