Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -159,6 +159,8 @@ def clean_text(text):
|
|
| 159 |
text = re.sub(r'</i>', '', text)
|
| 160 |
text = re.sub(r'<span[^>]*>.*?</span>', '', text, flags=re.DOTALL)
|
| 161 |
text = re.sub(r'<span[^>]*>.*?</span>', '', text, flags=re.DOTALL)
|
|
|
|
|
|
|
| 162 |
|
| 163 |
|
| 164 |
|
|
|
|
| 159 |
text = re.sub(r'</i>', '', text)
|
| 160 |
text = re.sub(r'<span[^>]*>.*?</span>', '', text, flags=re.DOTALL)
|
| 161 |
text = re.sub(r'<span[^>]*>.*?</span>', '', text, flags=re.DOTALL)
|
| 162 |
+
text = re.sub(r'<span class="mord mathnormal"[^>]*>([^<]+)</span>', r'\1', text)
|
| 163 |
+
|
| 164 |
|
| 165 |
|
| 166 |
|