mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Conversion: Fix a regression in the previous release that broke heuristic processing
This commit is contained in:
parent
2242151ea6
commit
748e4c77e8
@ -876,5 +876,5 @@ class HeuristicProcessor:
|
|||||||
|
|
||||||
if self.deleted_nbsps:
|
if self.deleted_nbsps:
|
||||||
# put back non-breaking spaces in empty paragraphs so they render correctly
|
# put back non-breaking spaces in empty paragraphs so they render correctly
|
||||||
html = self.anyblank.sub(r'\n\g<openline>\u00a0\g<closeline>', html)
|
html = self.anyblank.sub(r'\n\g<openline>' + '\u00a0' + r'\g<closeline>', html)
|
||||||
return html
|
return html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user