buckram 1.10.1 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.10.2](https://github.com/pressbooks/buckram/compare/v1.10.1...v1.10.2) (2026-06-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* keep wrapped links clickable and single-tagged in PDF export ([#425](https://github.com/pressbooks/buckram/issues/425)) ([b5fd4cc](https://github.com/pressbooks/buckram/commit/b5fd4cc38be3583069efaeea462832298712bb46))
|
|
9
|
+
|
|
3
10
|
## [1.10.1](https://github.com/pressbooks/buckram/compare/v1.10.0...v1.10.1) (2026-06-16)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@if $type == 'prince' {
|
|
19
|
+
// Render each anchor as a single atomic box so PrinceXML emits one PDF link
|
|
20
|
+
// rectangle (and one OBJR tag) for the whole anchor, even when a long URL
|
|
21
|
+
// wraps across lines. This keeps the entire URL clickable
|
|
22
|
+
// (pressbooks/pressbooks#2512) and stops screen readers repeating the link
|
|
23
|
+
// from duplicate OBJR tags (pressbooks/private#2394). max-width and
|
|
24
|
+
// overflow-wrap let the URL wrap inside the box instead of overflowing.
|
|
25
|
+
a {
|
|
26
|
+
display: inline-block;
|
|
27
|
+
max-width: 100%;
|
|
28
|
+
overflow-wrap: break-word;
|
|
29
|
+
}
|
|
30
|
+
|
|
19
31
|
.print a {
|
|
20
32
|
text-decoration: $link-text-decoration-print;
|
|
21
33
|
}
|