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

CommentFileSizeAuthor
phptal.diff7.67 KBa.j.g.b