website/themes/LoveIt/layouts/partials/function/escape.html
2022-12-01 21:55:18 +01:00

5 lines
147 B
HTML

{{- /* Escape character */ -}}
{{- /* {?X} -> X */ -}}
{{- $REin := `\{\?(.)\}` -}}
{{- $REout := `$1` -}}
{{- return replaceRE $REin $REout . -}}