Active
Project:
PHPTAL theme engine
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2007 at 20:00 UTC
Updated:
11 Dec 2007 at 20:00 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| phptal.diff | 7.67 KB | a.j.g.b |