Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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'
|
| 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 |
|