aboutsummaryrefslogtreecommitdiff
path: root/test/lang.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 22:26:12 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 22:26:12 -0400
commit3406515a44b13d0c290c28ac42bd364ce27560c7 (patch)
tree38000658e651ad19b9c8c2590df8fd6bb6faa4d7 /test/lang.tm
parentd8afa73368cdff38125fa1f7d17ad5ce54c84def (diff)
Make string escapes more normal: "\n" for newline, etc. Backticks can be
used to put in literal code without escape sequences.
Diffstat (limited to 'test/lang.tm')
-rw-r--r--test/lang.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lang.tm b/test/lang.tm
index 081438ed..21b70f96 100644
--- a/test/lang.tm
+++ b/test/lang.tm
@@ -47,7 +47,7 @@ func main()
= $HTML"<p>Hello I &lt;3 hax!</p>"
>> Text(html)
- = '$HTML"Hello I &lt;3 hax!"'
+ = '\$HTML"Hello I &lt;3 hax!"'
>> b := Bold("Some <text> with junk")
>> $HTML"Your text: $b"