Merge branch 'develop' of https://github.com/frappe/lms into certification-redesign

This commit is contained in:
Jannat Patel
2025-04-14 22:50:47 +05:30
28 changed files with 4296 additions and 3674 deletions

View File

@@ -168,6 +168,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,