aboutsummaryrefslogtreecommitdiff
path: root/test/writer.typst
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-05-30 18:24:52 -0600
committerJohn MacFarlane <[email protected]>2024-05-30 18:24:52 -0600
commit7abfec3d2c0e6084b8029d38cd45912697822f3a (patch)
tree06a55e9d8ae9d45e6a024f2f2a401862c42e88be /test/writer.typst
parent0e92d9483ce55ca2dc3a7a2d12897ac0e25f4dbd (diff)
Fix typo in fix to template.typst.
Diffstat (limited to 'test/writer.typst')
-rw-r--r--test/writer.typst2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.typst b/test/writer.typst
index a2ac4025e..91d600c81 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -24,7 +24,7 @@
if content.has("text") {
content.text
} else if content.has("children") {
- content.children.map(to-string).join("")
+ content.children.map(content-to-string).join("")
} else if content.has("body") {
content-to-string(content.body)
} else if content == [ ] {