Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

html a tag should not be self-closed #171

@banjun

Description

@banjun

Using QuoteIt plugin for url https://dl.dropboxusercontent.com/u/4388504/empty.html ( http://quoteit.herokuapp.com/clip.html?u=https%3A%2F%2Fdl.dropboxusercontent.com%2Fu%2F4388504%2Fempty.html ) generates html containing below, but AsakusaSatellite converts it to <a ... /> self-closing tag.
Because browsers interpret <a /> self-closing tag as <a> (not <a></a>), the scope of the a tag is unintentionally exntended to the following html elements.

<a href="https://dl.dropboxusercontent.com/u/4388504/empty.html" target="_blank"></a>

^ contents of a tag is empty

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