Skip to content

Buggy parsing of empty link text  #9

@follower

Description

@follower

When a link is written like this:

[](http://example.com/)

the HTML is generated as:

<a href="http://example.com/" />

By way of comparison GitHub generates it as:

<a href="http://example.com/"></a>

And renders it as:

Interestingly, WebKit seems to handle the <a href="" /> form really badly in the rendering and element inspector. It leaves the link open to the start of the next anchor tag and adds multiple extra tags in the inspector.

Metadata

Metadata

Assignees

Labels

bugBug report.coreRelated to the core parser code.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions