Skip to content

option to ignore attribute-errors if attribute contains pseudo-elements #505

@HoffmannP

Description

@HoffmannP

html:

<a href="<# jsteLink #>">Link</a>
<a href="<% aspLink %>">Link</a>
<a href="<?php echo $phpLink ?>">Link</a>
<a href="<?= $phpLink ?>">Link</a>

using

tidy -q --show-body-only true test.html

gives me always (handlebars templates using { } seem to work) an error like:

Warning: <a> escaping malformed URI reference

So is it possible to stop checking for malformed attributes if they contain any pseudo elements? Is there any workaround that anyone is using in their routine?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions