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.
|