mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 07:56:33 +01: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
1 changed files with 2 additions and 1 deletions
|
|
@ -444,7 +444,8 @@ def a(anchor):
|
|||
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…
Reference in a new issue