diff --git a/tasks/grunt-htmlrefs.js b/tasks/grunt-htmlrefs.js
index fb26efa..6ab4eda 100644
--- a/tasks/grunt-htmlrefs.js
+++ b/tasks/grunt-htmlrefs.js
@@ -107,7 +107,9 @@ module.exports = function(grunt) {
return indent + l;
});
- return lines.join(lf);
+ return grunt.template.process(lines.join(lf), {
+ data: block
+ });
},
remove: function( /*block*/ ) {
return ''; // removes replaces with nothing