Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2013, 11:49 AM   #1
Steven630
Zealot
Steven630 began at the beginning.
 
Posts: 142
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
How do I ignore color?

Quote:
<q style="quotes: none; font-style: normal; font-weight: bold; font-size: 1em; line-height: 1.5em; color: rgb(0, 85, 170);"> ... </q>
I want to ignore the color. But simply deleting style would delete font weight as well. What should I do in the recipe?
Steven630 is offline   Reply With Quote
Old 02-22-2013, 12:22 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,320
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
dont delete it use

q['style'] = q['style'].replace('color', 'ignore-me')
kovidgoyal is offline   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Malware or Ad I can ignore? GeekyGal Calibre 9 11-16-2012 05:27 PM
Unutterably Silly Ignore this post The Terminator Lounge 16 01-25-2011 09:27 PM
Ignore this thread AJ Starr Legacy E-Book Devices 0 05-17-2009 01:49 AM
ignore Nate the great Amazon Kindle 0 12-07-2007 07:24 PM


All times are GMT -4. The time now is 04:29 PM.


MobileRead.com is a privately owned, operated and funded community.