diff --git a/vasl_templates/webapp/vo_notes.py b/vasl_templates/webapp/vo_notes.py index b2efb55..c2eaeb1 100644 --- a/vasl_templates/webapp/vo_notes.py +++ b/vasl_templates/webapp/vo_notes.py @@ -148,7 +148,7 @@ def load_vo_notes( msg_store ): #pylint: disable=too-many-statements,too-many-lo # FUDGE! The HTML version of the Chapter H content contain a lot of notes # that start with "

†". We detect these and add a CSS class. # Larger blocks of content need to be wrapped in a

. - html_content = re.sub( r"^<(p|div)> †", r"<\1 class='dagger-note'> †", + html_content = re.sub( r"^<(p|div)>\s*†", r"<\1 class='dagger-note'> †", html_content, flags=re.MULTILINE )