Skip to content

add-noreferrer-quick-fix shouldn't add duplicated rel attribute #1811

@jasonlyu123

Description

@jasonlyu123

Describe the bug

add-noreferrer-quic-fix adds another rel attribute when there is already a rel attribute.

Reproduction

<a target="_blank" rel="noopener">test</a>

Expected behaviour

add the value to the existing rel attribute.

System Info

  • OS: Windows
  • IDE: VSCode

Which package is the issue about?

None

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions