diff --git a/brain_brew/representation/yaml/note_model_template.py b/brain_brew/representation/yaml/note_model_template.py index 15c472a..2fa1fb8 100644 --- a/brain_brew/representation/yaml/note_model_template.py +++ b/brain_brew/representation/yaml/note_model_template.py @@ -23,7 +23,7 @@ HTML_FILE = AnkiField("html_file") BROWSER_HTML_FILE = AnkiField("browser_html_file", default_value=None) -html_separator_regex = r'[\n]{1,}[-]{1,}[\n]{1,}' +html_separator_regex = r'(?:\r\n|\r|\n){1,}[-]{1,}(?:\r\n|\r|\n){1,}' @dataclass