aboutsummaryrefslogtreecommitdiff
path: root/test/lang.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/lang.tm')
-rw-r--r--test/lang.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lang.tm b/test/lang.tm
index 29936a62..2aebf8e0 100644
--- a/test/lang.tm
+++ b/test/lang.tm
@@ -9,10 +9,10 @@ lang HTML:
$/'/="'",
})
- return HTML.without_escaping(t)
+ return HTML.from_text(t)
convert(i:Int->HTML):
- return HTML.without_escaping("$i")
+ return HTML.from_text("$i")
func paragraph(content:HTML->HTML):
return $HTML"<p>$content</p>"