diff --git a/srcpkgs/anki/patches/fix_unescape.patch b/srcpkgs/anki/patches/fix_unescape.patch new file mode 100644 index 00000000000..f7024bc7bf1 --- /dev/null +++ b/srcpkgs/anki/patches/fix_unescape.patch @@ -0,0 +1,11 @@ +--- a/aqt/reviewer.py ++++ b/aqt/reviewer.py +@@ -359,7 +359,7 @@ + cor = stripHTML(cor) + # ensure we don't chomp multiple whitespace + cor = cor.replace(" ", " ") +- cor = parser.unescape(cor) ++ cor = html.unescape(cor) + cor = cor.replace("\xa0", " ") + cor = cor.strip() + given = self.typedAnswer diff --git a/srcpkgs/anki/template b/srcpkgs/anki/template index 55976fbd26e..f2a47684471 100644 --- a/srcpkgs/anki/template +++ b/srcpkgs/anki/template @@ -1,7 +1,7 @@ # Template file for 'anki' pkgname=anki version=2.1.15 -revision=4 +revision=5 build_style=gnu-makefile depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy python3-PyAudio python3-mpv python3-Markdown python3-send2trash