diff --git a/regress/template/escapegemini.html b/regress/template/escapegemini.html
new file mode 100644
index 0000000..6777f78
--- /dev/null
+++ b/regress/template/escapegemini.html
@@ -0,0 +1,2 @@
+hi there
+- hi there what's going on
diff --git a/regress/template/escapegemini.md b/regress/template/escapegemini.md
new file mode 100644
index 0000000..6cf0599
--- /dev/null
+++ b/regress/template/escapegemini.md
@@ -0,0 +1,6 @@
+title: hi there
+author: - hi there
+ what's going
+ on
+
+asdf
diff --git a/regress/template/escapegemini.xml b/regress/template/escapegemini.xml
new file mode 100644
index 0000000..0b846a2
--- /dev/null
+++ b/regress/template/escapegemini.xml
@@ -0,0 +1,2 @@
+$title.escapegemini()$
+$author.escapegeminiline()$
diff --git a/regress/template/escapelatex.html b/regress/template/escapelatex.html
new file mode 100644
index 0000000..8363c4d
--- /dev/null
+++ b/regress/template/escapelatex.html
@@ -0,0 +1,3 @@
+\textbackslash{}textbf\{hi\}
+\textbackslash{}leftarrow
+\textbackslash{}beta
diff --git a/regress/template/escapelatex.md b/regress/template/escapelatex.md
new file mode 100644
index 0000000..3ca379f
--- /dev/null
+++ b/regress/template/escapelatex.md
@@ -0,0 +1,4 @@
+title: \textbf{hi}
+author: \leftarrow \beta
+
+asdf
diff --git a/regress/template/escapelatex.xml b/regress/template/escapelatex.xml
new file mode 100644
index 0000000..2ae6130
--- /dev/null
+++ b/regress/template/escapelatex.xml
@@ -0,0 +1,4 @@
+$title.escapelatex()$
+$for(author.split())--$
+$this.escapelatex()$
+$endfor--$