verbb / hyper

A Craft CMS plugin for managing links, focusing on user experience.
Other
23 stars 14 forks source link

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

Open bfopma opened 1 week ago

bfopma commented 1 week ago

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

engram-design commented 1 week ago

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