summaryrefslogtreecommitdiff
path: root/tests/suite/layout
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-07-18 10:49:08 +0200
committerGitHub <noreply@github.com>2024-07-18 08:49:08 +0000
commit42754477886f6a12afbabfd2a64d8c787a57bc03 (patch)
treeaebc0a0de9ac8fb239db372079789d839876f9cd /tests/suite/layout
parent0ea4b1b217b2b5b902dca8e6e6ce11e1890afd40 (diff)
Fix panic in link linebreaking (#4579)
Diffstat (limited to 'tests/suite/layout')
-rw-r--r--tests/suite/layout/inline/linebreak.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/suite/layout/inline/linebreak.typ b/tests/suite/layout/inline/linebreak.typ
index 2fa29b6c..7e959352 100644
--- a/tests/suite/layout/inline/linebreak.typ
+++ b/tests/suite/layout/inline/linebreak.typ
@@ -107,3 +107,11 @@ For info see #link("https://myhost.tld").
#set page(width: 50pt, height: auto)
#h(99%) 🏳️‍🌈
🏳️‍🌈
+
+--- issue-hyphenate-in-link ---
+#set par(justify: true)
+
+// The `linebreak()` function accidentally generated out-of-order breakpoints
+// for links because it now splits on word boundaries. We avoid the link markup
+// syntax because it's show rule interferes.
+#"http://creativecommons.org/licenses/by-nc-sa/4.0/"