Permalink
Browse files

Tidied Less Script Removal Regex

  • Loading branch information...
cwmrowe committed Apr 25, 2012
1 parent dee5cff commit 59b796aec9d58215be47ad2826bf323b2d187f5e
Showing with 1 addition and 3 deletions.
  1. +1 −3 build.xml
View
@@ -667,9 +667,7 @@
<equals arg1="${build.css.less}" arg2="true"/>
<then>
<echo message="Removing LESS CSS Script from HTML..."/>
- <var name="lessregex" value="&lt;!-- less script [\d\w\s\W]* end less script --&gt;" />
- <echo message="${lessregex}"/>
- <replaceregexp match="${lessregex}" replace="">
+ <replaceregexp match="&lt;!-- less script [\d\w\s\W]* end less script --&gt;" replace="">
<fileset dir="${dir.intermediate}" includes="${page-files}"/>
</replaceregexp>
</then>

0 comments on commit 59b796a

Please sign in to comment.