Typst template: fix 3.8 regression in which links disappear.

A template change in 3.8 added a show rule for links which
causes them to disappear except in special cases.

This change fixes the problem.

Closes #11194.
This commit is contained in:
John MacFarlane
2025-10-04 19:25:34 +02:00
parent c66553c76b
commit 9d452f801d
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -91,6 +91,8 @@
show link: this => {
if filecolor != none and type(this.dest) == label {
text(this, fill: rgb(content-to-string(filecolor)))
} else {
text(this)
}
}