Spaces:
Running
Running
clean up design
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def _build_header_markdown(doc) -> str:
|
|
| 33 |
parts.append(f"**Wikidata ID**: {wikidata_id}")
|
| 34 |
header = " | ".join(parts)
|
| 35 |
if url:
|
| 36 |
-
header += f"\n[{url}]({url})"
|
| 37 |
return header
|
| 38 |
def matches_filters(doc, require_has_math: bool | None, require_has_infobox: bool | None) -> bool:
|
| 39 |
meta = doc.metadata or {}
|
|
|
|
| 33 |
parts.append(f"**Wikidata ID**: {wikidata_id}")
|
| 34 |
header = " | ".join(parts)
|
| 35 |
if url:
|
| 36 |
+
header += f"\n\n[{url}]({url})"
|
| 37 |
return header
|
| 38 |
def matches_filters(doc, require_has_math: bool | None, require_has_infobox: bool | None) -> bool:
|
| 39 |
meta = doc.metadata or {}
|