Quote:
Originally Posted by AlanHK
So I learned that Pretty did not parse CSS, only respected default tags.
|
JSWolf recently mentioned something similar in Calibre's Editor:
Bug in the code editor showing bold/italic
Calibre makes the text in Code View bold/italic between the <b> + <i> (a very nice touch), but JSWolf wanted it expanded to recognize:
Code:
<p class="bold">
<span class="bold">
Kovid explained why parsing CSS like that would be a serious performance issue.
Quote:
Originally Posted by KevinH
Since users can change what css is active by changing the css file, it is never perfectly clear when to prettify, so we only use the tags.
|