diff --git a/resources/templates/html.css b/resources/templates/html.css index 79c80583bf..a8b3ab920c 100644 --- a/resources/templates/html.css +++ b/resources/templates/html.css @@ -402,7 +402,3 @@ img, object, svg|svg { height: auto; } -/* These are needed because ADE renders anchors the same as links */ - -a { text-decoration: inherit; color: inherit; cursor: inherit } -a[href] { text-decoration: underline; color: blue; cursor: pointer } diff --git a/src/calibre/ebooks/mobi/writer2/serializer.py b/src/calibre/ebooks/mobi/writer2/serializer.py index 2b38c1e6a6..d3269b2d5e 100644 --- a/src/calibre/ebooks/mobi/writer2/serializer.py +++ b/src/calibre/ebooks/mobi/writer2/serializer.py @@ -235,7 +235,7 @@ class Serializer(object): itemhref = re.sub(r'article_\d+/', '', itemhref) self.href_offsets[itemhref].append(buf.tell()) buf.write('0000000000') - buf.write(' >') + buf.write(' >') t = tocitem.title if isinstance(t, unicode): t = t.encode('utf-8')