Skip to content

A tag without href causes error in Rels #1562

Closed
@10types

Description

@10types

The following causes an error "Invalid parameters passed" in Rels

HTMLParser::addHtml($section,'<a title="Link to Foo">Foo</a>',false);

The link above is nonsense logically (no href and no name makes it pointless in HTML) but it's still valid HTML. The lack of href causes an exception rather than (for example) rendering it as unlinked text.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions