Example:

[#123,override="daddy's shoes"]

renders as

daddy\\\'s shoes

Vianney Stroebel
Likwid - Spécialistes Drupal - Paris

CommentFileSizeAuthor
#1 linodef_fix_char_escaping_preg.patch3.78 KBRoi Danton

Comments

Roi Danton’s picture

Status: Active » Needs review
StatusFileSize
new3.78 KB

Thanks for reporting. The escaping of ' is caused by preg_replace() used with the modificator 'e'. With this patch Linodef uses preg_replace_callback() instead.

Roi Danton’s picture

Component: Code (general) » Filter
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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