pilif / sacy

Smarty Asset Compiler (warning: all branches but master are subject to force pushes)
http://pilif.github.com/sacy
MIT License
34 stars 12 forks source link

Doesn't respect html comments #4

Open pilif opened 15 years ago

pilif commented 15 years ago

sacy doesn't respect tags that are inside HTML comments.

<!-- <link rel="stylesheet" type="text/css" href="..." /> -->

would still be processed.

A valid workaround is to use Smarty comments to temporarely remove links / scripts from a template.