phptal / PHPTAL

PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
http://phptal.org
GNU Lesser General Public License v2.1
176 stars 42 forks source link

Use <?= tag without shrot_open_tag #31

Closed unarist closed 10 years ago

unarist commented 10 years ago

PHPTAL is currently accepting <?= tag in html attributes if short_open_tag is set. But we can use <?= tag without short_open_tag since PHP 5.4.0. http://www.php.net/manual/en/ini.core.php#ini.short-open-tag

I'd like PHPTAL to follow this update in PHP.

tanakahisateru commented 10 years ago

Should I send PR?

kornelski commented 10 years ago

The change in aebbe16 looks good. Is there more to be done?

tanakahisateru commented 10 years ago

I don't have any more to do.