Strange apostrophes in link generate a bug

Here is the link settings:

Here is the frontend and code source:

Environment info

  • WordPress version: 6.2
  • Gutenberg Plugin version: N/A
  • Cwicly Plugin version:
  • Cwicly Theme version: 1.0.3

Well, there are more wild things going on, I think.

What are you trying to achieve?