Closed tanakahisateru closed 13 years ago
I have an idea to extend PHPTAL's namespace.
I want to display a value with replacing each newlines with <br />s.
tal:content="structure php:nl2br(htemlspecialchars(foo.bar))"
I want to do it easier:
ptal:content-nl2br="foo/bar"
tal:replace also.
reviewed by PHPTAL project developer!
I have an idea to extend PHPTAL's namespace.
I want to display a value with replacing each newlines with <br />s.
I want to do it easier: