summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-01 12:44:27 +0200
committerGitHub <noreply@github.com>2024-10-01 10:44:27 +0000
commit63e6150ca1cd793d5c2a994e892d862b45bdaa42 (patch)
treec8ff4b8179e9b19f12fa459ef21273525e1b81cb /tests/suite
parentf0ada7ba0c9009c113e34960bc8e7b3f3124476e (diff)
Fix order of tags in text show rules matches (#5083)
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/styling/show-text.typ9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ
index 66ae6580..4e031648 100644
--- a/tests/suite/styling/show-text.typ
+++ b/tests/suite/styling/show-text.typ
@@ -199,3 +199,12 @@ $a^2 + b^2 = c^2$ is Pythagoras' theorem.
a \ #h(0pt, weak: true)
b \ #h(0pt, weak: true)
$x$ c $y$
+
+--- issue-5014-show-text-tags ---
+#{
+ let c = counter("c")
+ show "b": context c.get().first()
+ [a]
+ c.step()
+ [bc]
+}