View Single Post
Old 05-21-2018, 10:29 AM   #6
bobbysteel
Big Poppa
bobbysteel began at the beginning.
 
Posts: 110
Karma: 10
Join Date: Jul 2010
Device: Nook
Hm, I also can't seem to get the result from the regexp you suggested.

Code:
    preprocess_regexps = [(re.compile(r'(?s)-->'), lambda m: '')]
    preprocess_regexps = [(re.compile(r'(?s)-->'), lambda m: '')]
Still returns this in the final HTML:

Code:
<p class="calibre_2">--&gt;--&gt;  </p>
bobbysteel is offline   Reply With Quote