Skip to content

How to prevent trimming empty tags #299

@Beep6581

Description

@Beep6581

First I wanted to thank you very much for the continued work on this program!

I cleaned up a HTML5 page written by someone else which I'm tasked with updating, and they used some framework which uses empty <i> and <li> tags for inserting icons and other CSS things. Example:
<i class="fa fa-envelope fa-3x"></i>
What can I do to prevent tidy-html5 from stripping those away?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions