Skip to content

Commit

Permalink
fixed empty toctitle
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Feb 8, 2025
1 parent 655f14b commit 3704a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/preview/theoretic/0.1.1/lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@
else if content.has("children") { content.children.map(_to-string).join("") }
else if content.has("child") { _to-string(content.child) }
else if content.has("body") { _to-string(content.body) }
else if content == [] { "" }
else if content == [ ] { " " }
else if content.func() == ref { "_ref_" }
else {
Expand Down

0 comments on commit 3704a72

Please sign in to comment.