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