Characters being converted by linking content

Created on 16 June 2015, almost 10 years ago
Updated 9 January 2025, 3 months ago

It looks as though when using this module, if you are using the link ability, it is converting characters to their htmlentity code.

Example: In the body if you have "><&<><&" it would print as "&gt;&lt;&amp;&lt;&gt;&lt;&amp;"

To Test:

  1. In a content type display, select "smart trim" as the formatter.
  2. Select to link the content.
  3. Save the content display mode.
  4. Create a piece of content with "><&<><&"
  5. View the display mode and the content should be escaped properly.

To solve. I believe we just need to add array('html'=>TRUE), to the final link.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States timodwhit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024