![]() |
#1 |
Member
![]() Posts: 23
Karma: 12
Join Date: Jul 2011
Device: Cool-er
|
Preventing calibre from processing HTML escape sequences
I don't know if this is the same question as "Preventing Calibre from rewriting custom HTML in recipe?"...
... But I find out that every time that my source text (HTML) has an escape sequence with for example "<" or ">" it gets processed as if it was a "<" or ">" So the "sample" HTML text that I can see in my source page when viewed through a browser as HTML text, gets deleted and unreadable. Can I avoid this with any kind of substitution? I've tried solutions as: preprocess_regexps = [('<','(')] ...which at least would make my text readable, substituting the "<" with a "(" but failed. Is there an easy solution? Thanks. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,330
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre most definitely does not process < as <
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preventing Calibre from rewriting custom HTML in recipe? | simplisity | Recipes | 8 | 09-15-2017 01:42 AM |
The Less Wrong Sequences | Jaime_Astorga | Lounge | 2 | 01-31-2011 03:51 AM |
Calibre Recipe HTML content differs from raw html of index.html. | krunk | Calibre | 4 | 09-20-2010 09:48 PM |
Finding Sequences Puzzle | pdurrant | Lounge | 12 | 08-03-2010 04:22 AM |
Number Sequences | pdurrant | Lounge | 8 | 06-11-2010 03:14 PM |