View Single Post
Old 09-22-2010, 04:38 PM   #2823
krunk
Member
krunk began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2010
Location: Los Angeles, CA
Device: Kindle 3
Quote:
Originally Posted by Starson17 View Post
AFAIK, it appears in stylesheet.css.
They're not appearing in the sylesheet.css either (the recursive grep would catch it) but i'll do a deeper inspection there.

Quote:
Originally Posted by Starson17 View Post
You need indents in the extra_css, just like elsewhere, or they'll get ignored.
Is this a quirk of the calibre library? It's not a python syntax rule. A python syntax error would also throw an exception.


Code:
>>> class A(object):
...     foo = """
... This is a docstring. No 
... indents necessary within the block.
... """
... 
>>> a = A()
>>> a.foo
'\nThis is a docstring. No \nindents necessary within the block.\n'
krunk is offline