summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-19 15:53:24 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-19 15:53:48 +0100
commitea987ef4a3cb1e16b73e9d97f4a736f3a611b275 (patch)
treef6d75ee593194a5604f1c364fe6fb209158253a0 /tests/typ/text
parent18cb3becb32b1c2424a82ad847d890732ccee878 (diff)
Fix linebreaking at the end of links
Fixes #2689
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/linebreak-link.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/text/linebreak-link.typ b/tests/typ/text/linebreak-link.typ
index 18b6d936..9f6407fa 100644
--- a/tests/typ/text/linebreak-link.typ
+++ b/tests/typ/text/linebreak-link.typ
@@ -14,3 +14,10 @@
Here's a link https://url.com/data/extern12840%data_urlenc and then there are more
links #link("www.url.com/data/extern12840%data_urlenc") in my text of links
http://mydataurl/hash/12098541029831025981024980124124214/incremental/progress%linkdata_information_setup_my_link_just_never_stops_going/on?query=false
+
+---
+// Ensure that there's no unconditional break at the end of a link.
+#set page(width: 180pt, height: auto, margin: auto)
+#set text(11pt)
+
+For info see #link("https://myhost.tld").