Closed joelclermont closed 1 year ago
And if I change the config for open_in_new_window
to false
, the rel
attribute is not rendered (as expected).
It looks like this is happening because LinkRenderer
adds a default rel
attribute if none is set:
Making ExternalLinkProcessor
set the rel
attribute to false
should prevent this. I'll get a PR together for this shortly :)
Fixed in v2.4.1 :)
Beautiful!! Thank you!
Version(s) affected
2.4.0
Description
When an external link is set to open in a new window, the
noopener
andnoreferrer
values are being added, even though my config has disabled them.How to reproduce
Here is my setup
Markdown input:
HTML output:
Expected output: