Skip to content

Commit 00b5cd9

Browse files
authored
Merge pull request #33 from Code4GovTech/sasi_dev_v2fix
markdown issue fix - Added strip for removing unclosed tags
2 parents 9c90a2d + 0ea44dd commit 00b5cd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

v2_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def week_data_formatter(html_content, type):
4646
task_list_html = tasks_per_week[i] if i < len(tasks_per_week) else ""
4747
weekly_updates.append({
4848
'week': i + 1,
49-
'content': task_list_html.strip()
49+
'content': re.sub(r'<[^>]+>', '',task_list_html).strip()
50+
5051
})
5152
return weekly_updates
5253

0 commit comments

Comments
 (0)