mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
dc97cffbec
commit
270ae84b7b
@ -570,7 +570,7 @@ class ResultDetails(QWidget):
|
|||||||
count += 1
|
count += 1
|
||||||
return '<b><i>' if count % 2 else '</i></b>'
|
return '<b><i>' if count % 2 else '</i></b>'
|
||||||
|
|
||||||
return re.sub('\x1d', sub, text)
|
return re.sub('\x1d', sub, re.sub(r'\s+', ' ', text))
|
||||||
|
|
||||||
ci = self.current_individual_match
|
ci = self.current_individual_match
|
||||||
for i, (result, formats) in enumerate(zip(results.texts, results.formats)):
|
for i, (result, formats) in enumerate(zip(results.texts, results.formats)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user