mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
PDF Output: When converting fixed layout input documents fix anchors inserted for navigation sometimes being rendered as blue boxes. Fixes #1911466 [Private bug](https://bugs.launchpad.net/calibre/+bug/1911466)
This commit is contained in:
parent
0727fb7793
commit
48e36065a4
@ -444,7 +444,8 @@ def add_anchors_markup(root, uuid, anchors):
|
||||
num = next(c)
|
||||
a = div.makeelement(
|
||||
XHTML('a'), href='#' + anchor,
|
||||
style='min-width: 10px !important; min-height: 10px !important; border: solid 1px !important;'
|
||||
style='min-width: 10px !important; min-height: 10px !important;'
|
||||
' border: solid 1px rgba(0, 0, 0, 0) !important; text-decoration: none !important'
|
||||
)
|
||||
a.text = a.tail = ' '
|
||||
if num % 8 == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user