Pclanglais commited on
Commit
3da2a92
·
verified ·
1 Parent(s): 7a8797a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ class CombinedProcessor:
169
 
170
  corrected_bibliography_entries = []
171
  for entry in bibliography_entries:
172
- entry = re.sub(r' ?', r'¶', entry)
173
  entry = entry.split("¶¶")
174
  corrected_bibliography_entries.extend(entry)
175
 
 
169
 
170
  corrected_bibliography_entries = []
171
  for entry in bibliography_entries:
172
+ entry = re.sub(r' +?¶ +?', r'¶', entry)
173
  entry = entry.split("¶¶")
174
  corrected_bibliography_entries.extend(entry)
175