diff --git a/src/calibre/ebooks/pdf/html_writer.py b/src/calibre/ebooks/pdf/html_writer.py index 548f8d7415..5f2470ea17 100644 --- a/src/calibre/ebooks/pdf/html_writer.py +++ b/src/calibre/ebooks/pdf/html_writer.py @@ -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: