"Override" option does not support apostrophe

Viybel - October 30, 2009 - 17:48
Project:Inline and link Drupal objects (Linodef)
Version:6.x-1.x-dev
Component:Code (general)
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Example:

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

renders as

daddy\\\'s shoes

Vianney Stroebel
Likwid - Spécialistes Drupal - Paris

#1

Roi Danton - October 31, 2009 - 00:39
Status:active» needs review

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.

AttachmentSize
linodef_fix_char_escaping_preg.patch 3.78 KB
 
 

Drupal is a registered trademark of Dries Buytaert.