diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 13:26:49 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 13:26:49 -0400 |
| commit | 800e386105255c9c4faa9a7051b100a8768a70de (patch) | |
| tree | d1e8b6b221485330b92d225f32c29337d81b6675 /test | |
| parent | 0609a26f3108148375d4ee2fb3d2d8f9c5756ae7 (diff) | |
Rename `from_unsafe_text` to `without_escaping`
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 e19c1e2a..9a05eb11 100644 --- a/test/lang.tm +++ b/test/lang.tm @@ -9,10 +9,10 @@ lang HTML: $/'/: "'", }) - return HTML.from_unsafe_text(t) + return HTML.without_escaping(t) func escape_int(i:Int)->HTML: - return HTML.from_unsafe_text("$i") + return HTML.without_escaping("$i") func paragraph(content:HTML)->HTML: return $HTML"<p>$content</p>" |
