diff --git a/tasks/webfont.js b/tasks/webfont.js index 79bb7b7..f1b558a 100755 --- a/tasks/webfont.js +++ b/tasks/webfont.js @@ -714,6 +714,9 @@ module.exports = function(grunt) { // Put hash at the end of an URL or before #hash url = url.replace(/(#|$)/, '?' + o.hash + '$1'); } + else { + url = url.replace(/(#|$)/, o.hash + '$1'); + } } }