fix: profile page empty bio error
This commit is contained in:
@@ -148,8 +148,9 @@ def get_meta(app_path):
|
|||||||
as_dict=True,
|
as_dict=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
soup = BeautifulSoup(user.bio, "html.parser")
|
if user.bio:
|
||||||
user.bio = soup.get_text()
|
soup = BeautifulSoup(user.bio, "html.parser")
|
||||||
|
user.bio = soup.get_text()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"title": user.full_name,
|
"title": user.full_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user