From fc5d1f9bd060392ce7d3b0b38dda62746e574d08 Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Mon, 6 May 2024 19:21:53 +0200 Subject: [PATCH] update anki_prompt_qa.py --- memium/destination/ankiconnect/anki_prompt_qa.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/memium/destination/ankiconnect/anki_prompt_qa.py b/memium/destination/ankiconnect/anki_prompt_qa.py index 2424f30..f27f00e 100644 --- a/memium/destination/ankiconnect/anki_prompt_qa.py +++ b/memium/destination/ankiconnect/anki_prompt_qa.py @@ -1,4 +1,3 @@ -import html from collections.abc import Sequence from dataclasses import dataclass @@ -83,7 +82,7 @@ def to_genanki_note(self) -> genanki.Note: fields=[ self._field_to_markdown(self.question), self._field_to_markdown(self.answer), - html.escape(self._extra_field_content), + self._extra_field_content, str(self.uuid), ], tags=self.tags,