diff options
Diffstat (limited to 'themes/LoveIt/layouts/partials/function/escape.html')
-rw-r--r-- | themes/LoveIt/layouts/partials/function/escape.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/LoveIt/layouts/partials/function/escape.html b/themes/LoveIt/layouts/partials/function/escape.html new file mode 100644 index 0000000..1ff794f --- /dev/null +++ b/themes/LoveIt/layouts/partials/function/escape.html @@ -0,0 +1,5 @@ +{{- /* Escape character */ -}} +{{- /* {?X} -> X */ -}} +{{- $REin := `\{\?(.)\}` -}} +{{- $REout := `$1` -}} +{{- return replaceRE $REin $REout . -}} |