Skip to content

HTML5-conform self-closing (void) tags #84

@jools-r

Description

@jools-r

The W3C validator complains about /> endings of self-closing (void) tags when using an HTML5 doctype.

I tracked down where these occur in the plugin code and made a small commit in a branch of my own fork that switches these to plain >-tag endings when the doctype setting is set to HTML5. In combination with a similar commit in the textpattern code it appears to appease the W3C validator.

Is this worth submitting as a PR?

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