You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the htmlcompressor will only compress it is the type of tag to text/x-jquery-tmpl according to documentation.
"Any content within <pre>, <textarea>, <script> and <style> tags will be preserved and remain untouched (with the exception of <script type="text/x-jquery-tmpl"> tags which are compressed as HTML). Inline javascript inside tags (onclick="test()") will be preserved as well. You can wrap any part of the page in <!-- {{{ -->...<!-- }}} --> comments to preserve it, or provide a set of your own preservation rules (out of the box <?php...?>, <%...%>, and <!--#... --> are also supported)"
The text was updated successfully, but these errors were encountered:
Right now I put the compressed HTML directly into the $templateCache. I do also account for textarea and pre tag content as well (escaping the newlines within the string I insert).
the htmlcompressor will only compress it is the type of tag to text/x-jquery-tmpl according to documentation.
The text was updated successfully, but these errors were encountered: