diff --git a/anki_exporter.py b/anki_exporter.py
index ecc2e0b..20a2650 100644
--- a/anki_exporter.py
+++ b/anki_exporter.py
@@ -23,9 +23,9 @@ def compile_anki_package(records, output_path, deck_name):
Resolves voice models dynamically by gender selection parameters and applies
global speed coefficient rates from the active configurations.
"""
- # Incrementing both forces a completely clean slate for both layout and deck container
- model_id = 1684329015
- deck_id = 1684329015
+ # Bumping IDs to completely clear any remaining local cache
+ model_id = 1684329050
+ deck_id = 1684329050
# Global Configuration Pace Resolver Mapping
settings = database.load_all_settings() or {}
@@ -58,7 +58,7 @@ def compile_anki_package(records, output_path, deck_name):
'afmt': '{{FrontSide}}
'
'{{SpanishText}}
'
'{{Notes}}
'
- '{{#AnkiNotes}}Anki Meta: {{AnkiNotes}}
{{/AnkiNotes}}
'
+ '{{#AnkiNotes}}Anki Meta: {{{AnkiNotes}}}
{{/AnkiNotes}}
'
'{{SpanishAudio}}
',
},
{
@@ -69,7 +69,7 @@ def compile_anki_package(records, output_path, deck_name):
'afmt': '{{FrontSide}}
'
'{{EnglishText}}
'
'{{Notes}}
'
- '{{#AnkiNotes}}Anki Meta: {{AnkiNotes}}
{{/AnkiNotes}}
'
+ '{{#AnkiNotes}}Anki Meta: {{{AnkiNotes}}}
{{/AnkiNotes}}
'
'{{EnglishAudio}}
',
}
]
@@ -105,7 +105,9 @@ def compile_anki_package(records, output_path, deck_name):
notes_html_parts.append(f"Context: {record['source_context'].strip()}
")
notes_html = "".join(notes_html_parts)
- anki_notes_html = f"{record['anki_notes'].strip()}
" if record.get('anki_notes') else ""
+
+ # Safely isolate the raw text data string down to Anki
+ anki_notes_html = record['anki_notes'].strip() if record.get('anki_notes') else ""
# Standard Unique Media Filenames
en_audio_filename = f"edge_en_{idx}_{model_id}.mp3"
diff --git a/spanish_trainer.db b/spanish_trainer.db
index 6cb9c32..0682e48 100644
Binary files a/spanish_trainer.db and b/spanish_trainer.db differ