Problem/Motivation

Module code is running check plain on tokens value even when the sanitize option is set to false in function title_tokens_alter.
This results in some characters are not rendered correctly, for example apostrophe.

Steps to reproduce

Create node title with apostrophe and use it in token.

Proposed resolution

In related issue there was already fix for that, but was removed later on. Adjusting it and bringing it back should fix the problem.

Comments

martamarczak created an issue. See original summary.

martamarczak’s picture

StatusFileSize
new1.11 KB

Attaching patch.

martamarczak’s picture

Status: Active » Needs review
martamarczak’s picture

StatusFileSize
new1.13 KB

Attaching updated patch.

klausi’s picture

Status: Needs review » Reviewed & tested by the community

Great, looks good to me!

  • ram4nd committed a9f00700 on 7.x-1.x authored by martamarczak
    Issue #3392894 by martamarczak: Tokens get sanitized even when they...
ram4nd’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.