Unquote text

main
Bob Mottram 2022-03-24 14:59:41 +00:00
parent f6da511dbf
commit 0f2b28ed1f
1 changed files with 1 additions and 0 deletions

View File

@ -1331,6 +1331,7 @@ def contains_invalid_local_links(content: str) -> bool:
def bold_reading_string(text: str) -> str:
"""Returns bold reading formatted text
"""
text = urllib.parse.unquote(text)
add_paragraph_markup = False
if '<p>' in text:
text = text.replace('</p>', '\n').replace('<p>', '')