diff --git a/lms/www/lms.py b/lms/www/lms.py index 01259fe2..5e8b928c 100644 --- a/lms/www/lms.py +++ b/lms/www/lms.py @@ -169,6 +169,11 @@ def get_meta_from_document(app_path): ["job_title", "company_logo", "description"], as_dict=True, ) + + if job_opening.description: + soup = BeautifulSoup(job_opening.description, "html.parser") + job_opening.description = soup.get_text() + return { "title": job_opening.job_title, "image": job_opening.company_logo,