diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -38,7 +38,7 @@ function gulpInjectFile(opts) {
                     })
                     .join('\n');
 
-                content = content.replace(match, injectContent);
+                content = content.replace(match, function() { return injectContent; });
             }
 
             file.contents = new Buffer(content);
ignore special symbols when doing file content replace