Skip to content

Commit

Permalink
It should have been a negative lookbehind
Browse files Browse the repository at this point in the history
- In addition greater than character (>) in the regexp had to been escaped
  • Loading branch information
kblomqvist committed Jan 20, 2012
1 parent e80a3e0 commit 4932b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.xml
Expand Up @@ -738,7 +738,7 @@

<!-- add manifest attribute -->
<echo>Add manifest attribute to HTML: </echo>
<replaceregexp match="&lt;html (.*?)(?!?)>" replace='&lt;html \1 manifest="${file.manifest}">' flags="g">
<replaceregexp match="&lt;html (.*?)(?&lt;![?])&gt;" replace='&lt;html \1 manifest="${file.manifest}"&gt;' flags="g">
<fileset dir="./${dir.intermediate}" includes="${page-files}"/>
</replaceregexp>

Expand Down

0 comments on commit 4932b40

Please sign in to comment.