diff options
Diffstat (limited to 'test/lang.tm')
| -rw-r--r-- | test/lang.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lang.tm b/test/lang.tm index c0add87b..77fd7958 100644 --- a/test/lang.tm +++ b/test/lang.tm @@ -1,6 +1,6 @@ lang HTML: HEADER := $HTML"<!DOCTYPE HTML>" - func escape(t:Text->HTML): + func HTML(t:Text->HTML): t = t:replace_all({ $/&/="&", $/</="<", @@ -11,7 +11,7 @@ lang HTML: return HTML.without_escaping(t) - func escape_int(i:Int->HTML): + func HTML(i:Int->HTML): return HTML.without_escaping("$i") func paragraph(content:HTML->HTML): |
