Unnecessary html encoding

a.j.g.b - December 11, 2007 - 20:00
Project:PHPTAL theme engine
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I've found that single quotes are encoded by PHPTAL (thanks to phptal_escape). While it's ok with regular html it makes some drupal modules impossible to use (e.g. FCKeditor).

To tell PHPTAL not to encode variables they need to be called as structure:
http://phptal.motion-twin.com/manual/en/split/ar05s07.html#id2521005

This way there will be no need to call html_entity_decode on
return $phptal->execute();

I've included cvs diff against DRUPAL-5

Cheers,
Alex

AttachmentSize
phptal.diff7.67 KB
 
 

Drupal is a registered trademark of Dries Buytaert.