aboutsummaryrefslogtreecommitdiff
path: root/test/lang.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 18:01:19 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 18:01:19 -0400
commit68bedd3c23757a8576e77f38e38ddcf9ecd26d19 (patch)
tree86ce1610143efc43453f50d3413925797601c48a /test/lang.tm
parent0815de981c683cac7dbac082ee14c11894089f31 (diff)
Use colons instead of '=' for tables (e.g. {1: 2})
Diffstat (limited to 'test/lang.tm')
-rw-r--r--test/lang.tm10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lang.tm b/test/lang.tm
index 9db69dbe..90c4f6f3 100644
--- a/test/lang.tm
+++ b/test/lang.tm
@@ -2,11 +2,11 @@ lang HTML
HEADER := $HTML"<!DOCTYPE HTML>"
convert(t:Text->HTML)
t = t.translate({
- "&"="&amp;",
- "<"="&lt;",
- ">"="&gt;",
- '"'="&quot",
- "'"="&#39;",
+ "&": "&amp;",
+ "<": "&lt;",
+ ">": "&gt;",
+ '"': "&quot",
+ "'": "&#39;",
})
return HTML.from_text(t)