I have documents with lots of font-awesome icons in them, which are embedded using <i class='icon-somename'></i>
. An empty i tag... HTML Tidy removes them. I've set drop-empty-paras
to false, but it still removes this tag. The documentation has not been of any help in resolving the matter, perhaps someone here knows?
I think it's absurd to have to break all my icons by adding content inside the tag just so tidy can be run then remove all the content again afterwards. But so far that has been the only suggestion I've found.
new-empty-tags
. "Unless you declare new tags, Tidy will refuse to generate a tidied file if the input includes previously unknown tags" – Noblenobleman