diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-hyphenate-in-link.png | bin | 0 -> 1200 bytes | |||
| -rw-r--r-- | tests/suite/layout/inline/linebreak.typ | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/issue-hyphenate-in-link.png b/tests/ref/issue-hyphenate-in-link.png Binary files differnew file mode 100644 index 00000000..932c23ae --- /dev/null +++ b/tests/ref/issue-hyphenate-in-link.png 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/" |
