Skip to content

Commit

Permalink
Fixing #17
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao committed Jun 22, 2017
1 parent 17a118a commit cc0e141
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class FileUtils {

static String resolve(String text, Map binding) {
String escaped = escape(text)
String ready = escaped.replaceAll('@([^{}/\\\\@\\n,]+)@', '\\$\\{$1\\}')
String ready = escaped.replaceAll('@([^{}/\\\\@\\n,\\s]+)@', '\\$\\{$1\\}')
String resolved = engine.createTemplate(ready).make(binding)
unescape(resolved)
}
Expand Down

0 comments on commit cc0e141

Please sign in to comment.