diff options
| -rw-r--r-- | data/templates/template.typst | 2 | ||||
| -rw-r--r-- | test/writer.typst | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/template.typst b/data/templates/template.typst index eec6d8261..749ecb007 100644 --- a/data/templates/template.typst +++ b/data/templates/template.typst @@ -67,6 +67,8 @@ show link: this => { if filecolor != none and type(this.dest) == label { text(this, fill: rgb(content-to-string(filecolor))) + } else { + text(this) } } diff --git a/test/writer.typst b/test/writer.typst index 8b30a3bf5..4e3b4a56e 100644 --- a/test/writer.typst +++ b/test/writer.typst @@ -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) } } |
