Adding support for &

This fixes 6 official tests
This commit is contained in:
Tyler Akins 2015-01-23 20:26:56 +00:00
parent e75302f327
commit 464733444a

6
mo
View File

@ -156,6 +156,12 @@ mustache-parse() {
mustache-show "$MUSTACHE_TAG"
;;
'&'*)
# Unescaped
mustache-trim MUSTACHE_TAG "${MUSTACHE_TAG:1}"
mustache-show "$MUSTACHE_TAG"
;;
*)
# Normal environment variable or function call
mustache-show "$MUSTACHE_TAG"