Quote:
Originally Posted by chaley
IMPORTANT: While testing this I found a bug in the get_note() function. The 'plain_text' option doesn't work. I have submitted a fix to Kovid. I will post here when the fix is in calibre source. In the meantime use HTML instead of plain text (the third parameter to get_note() is ''). It will be significantly slower but it should work as long as what you are looking for doesn't resemble an HTML tag too closely.
|
The fix is now in calibre source. If you run from source you can now use
Code:
get_note('authors', first_author, 1)
and not get the exception. If you don't run from source you must wait until the next calibre preview/release.