Hello,

How can I do in phptal something similar to
<?php echo nl2br(htmlspecialchars($variable)); ?>

I think something like
<div tal:content="structure php: nl2br(htmlspecialchars(variable))" />
will do it, but I'd not prefer to escape manually.
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to