hyper
hyper copied to clipboard
Choosing 'New Window' results in rel='["noopener","noreferrer"]'
Describe the bug
When choosing 'New Window' for a link and using {{ entry.myLinkField.getLink() }}, the resulting link is output as rel='["noopener","noreferrer"]' instead of rel="noopener noreferrer", as indicated in the documentation.
Steps to reproduce
- Create a new Hyper link using the "URL" type
- Toggle "New Window" on
- Render the link using
{{ entry.myLinkField.getLink() }}
Craft CMS version
5.4.7.1
Plugin version
2.1.1
Multi-site?
No
Additional context
No response
Fixed for the next release. To get this early, run composer require verbb/hyper:"dev-craft-5 as 2.1.1".
Fixed in 2.1.2