forked from PrivateCoffee/wikimore
fix: replace underscores with spaces in article titles
Updated article titles to replace underscores with spaces when rendering the wiki article. Enhances readability and ensures a more user-friendly display format.
This commit is contained in:
parent
d4c60d98d9
commit
b9b407a737
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -169,7 +169,7 @@ def wiki_article(project, lang, title):
|
|||
processed_html = str(soup)
|
||||
return render_template(
|
||||
"article.html",
|
||||
title=title,
|
||||
title=title.replace("_", " "),
|
||||
content=processed_html,
|
||||
wikimedia_projects=app.wikimedia_projects,
|
||||
languages=app.languages,
|
||||
|
|
Loading…
Reference in a new issue