Skip to content

Add option to force HTML5 doctype #17

Closed
@daaain

Description

@daaain

At the moment there's no way to make Tidy convert doctype to the simple HTML5 format, which is a shame as it could be a really useful tool to bulk convert legacy markup.

Adding a forcehtml5 option to --doctype which acts the same as omit, but adds a simple <!DOCTYPE html> back in would be a great start I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions