mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
GwR change <font> to <span>
This commit is contained in:
parent
b17053ac4f
commit
4c2480cbb0
@ -868,20 +868,20 @@ class EPUB_MOBI(CatalogPlugin):
|
|||||||
@dynamic_property
|
@dynamic_property
|
||||||
def NOT_READ_SYMBOL(self):
|
def NOT_READ_SYMBOL(self):
|
||||||
def fget(self):
|
def fget(self):
|
||||||
return '<font style="color:white">✓</font>' if self.generateForKindle else \
|
return '<span style="color:white">✓</span>' if self.generateForKindle else \
|
||||||
'<font style="color:white">%s</font>' % self.opts.read_tag
|
'<span style="color:white">%s</span>' % self.opts.read_tag
|
||||||
return property(fget=fget)
|
return property(fget=fget)
|
||||||
@dynamic_property
|
@dynamic_property
|
||||||
def READING_SYMBOL(self):
|
def READING_SYMBOL(self):
|
||||||
def fget(self):
|
def fget(self):
|
||||||
return '<font style="color:black">▷</font>' if self.generateForKindle else \
|
return '<span style="color:black">▷</span>' if self.generateForKindle else \
|
||||||
'<font style="color:white">%s</font>' % self.opts.read_tag
|
'<span style="color:white">%s</span>' % self.opts.read_tag
|
||||||
return property(fget=fget)
|
return property(fget=fget)
|
||||||
@dynamic_property
|
@dynamic_property
|
||||||
def READ_SYMBOL(self):
|
def READ_SYMBOL(self):
|
||||||
def fget(self):
|
def fget(self):
|
||||||
return '<font style="color:black">✓</font>' if self.generateForKindle else \
|
return '<span style="color:black">✓</span>' if self.generateForKindle else \
|
||||||
'<font style="color:black">%s</font>' % self.opts.read_tag
|
'<span style="color:black">%s</span>' % self.opts.read_tag
|
||||||
return property(fget=fget)
|
return property(fget=fget)
|
||||||
@dynamic_property
|
@dynamic_property
|
||||||
def FULL_RATING_SYMBOL(self):
|
def FULL_RATING_SYMBOL(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user