Skip to content

Conversation

@richardneililagan
Copy link
Contributor

When an element has no pre-existing [rel] (e.g. <a href="#">Example</a>), the config.noreferrer value is not respected. Even when config.noreferrer: true, the output HTML still does not include [rel=noreferrer].

This PR fixes that, so that config.noreferrer is respected regardless of what the pre-existing [rel] values are.

@Scrum Scrum requested a review from SukkaW March 31, 2021 06:27
@Scrum
Copy link
Member

Scrum commented Mar 31, 2021

@SukkaW ping

@SukkaW SukkaW merged commit 15655b4 into posthtml:master Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants