diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-12 18:12:53 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-12 18:12:53 -0400 |
| commit | a3c4e0a82d5b56e280cbf72af2ecf5a990b1f577 (patch) | |
| tree | e7b386efbe57d6c922130f56e056d62d8ee012ad /test | |
| parent | 904917a2bd3b2e03bf2c399b5bc5f5e357d404a2 (diff) | |
Rename `without_escaping()` -> `from_text()`
Diffstat (limited to 'test')
| -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 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>" |
