hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Choosing 'New Window' results in rel='["noopener","noreferrer"]'

Open bfopma opened this issue 1 year ago • 1 comments

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

  1. Create a new Hyper link using the "URL" type
  2. Toggle "New Window" on
  3. 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

bfopma avatar Oct 11 '24 16:10 bfopma

Fixed for the next release. To get this early, run composer require verbb/hyper:"dev-craft-5 as 2.1.1".

engram-design avatar Oct 12 '24 02:10 engram-design

Fixed in 2.1.2

engram-design avatar Dec 02 '24 00:12 engram-design