No longer explicitly set the color of links to blue. This was needed for old versions of ADE which did not display links correctly without it. Since newer versions of ADE no longer have this problem, remove the workaround.

This commit is contained in:
Kovid Goyal 2012-08-20 23:24:31 +05:30
parent 7a272a05d7
commit 4131aa18da
2 changed files with 1 additions and 5 deletions

View File

@ -402,7 +402,3 @@ img, object, svg|svg {
height: auto; 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 }

View File

@ -235,7 +235,7 @@ class Serializer(object):
itemhref = re.sub(r'article_\d+/', '', itemhref) itemhref = re.sub(r'article_\d+/', '', itemhref)
self.href_offsets[itemhref].append(buf.tell()) self.href_offsets[itemhref].append(buf.tell())
buf.write('0000000000') buf.write('0000000000')
buf.write(' ><font size="+1" color="blue"><b><u>') buf.write(' ><font size="+1"><b><u>')
t = tocitem.title t = tocitem.title
if isinstance(t, unicode): if isinstance(t, unicode):
t = t.encode('utf-8') t = t.encode('utf-8')