Skip to content

Keep existing target in <a> #78

@pierredewilde

Description

@pierredewilde

Flamethrower currently replaces existing link target:

<a href="https://astro.build" target="astro">

is replaced by

<a href="https://astro.build" target="_blank">

Existing target should be kept untouched.

anchor.target = '_blank';

should be replaced by

anchor.target = anchor.target || '_blank';

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