postor / gulp-jade-for-php

针对php语言的jade模板实现,利用gulp进行前端自动化| a gulp plugin for jade template adapt for php
0 stars 1 forks source link

Nameless attribute produces wrong output #5

Open rslnk opened 8 years ago

rslnk commented 8 years ago

Contrary to the README.md example nameless attribute tag(__=php_function()) produces: <tag __="<?php echo htmlspecialchars(php_function(), ENT_QUOTES, 'UTF-8'); ?>"></tag>. Note that php function is wrapped in unnecessary __="<php_function_name>".