Commit Graph

14 Commits

Author SHA1 Message Date
Michal Pokorný (Rai)
2d2f21bfe3 Fix bug in _removeFormattingFromMathjax 2019-12-22 05:47:45 +01:00
Michal Pokorný (Rai)
331781cf45 Document newly found bug in _removeFormattingFromMathjax
Also adds some comments I wrote to help me understand what's going
on in the code.

I hope to fix this bug myself, but I think it might be beyond what
you can do with Python regexes and might require writing a proper
parser.

So, as step 1, I'm adding in a couple comments explaining that the
bug exists and how to reproduce it.
2019-12-22 05:22:18 +01:00
Arthur Milchior
e96ca691d0 test req 2019-12-15 22:58:12 -08:00
Arthur Milchior
984d39fd6b correction 2019-11-27 08:10:37 +01:00
Arthur Milchior
556ef5d34b newField checks its input is a str
Indeed, it takes as input a name (str). For some reason in some test
it was given a model. This actually led to some strange failed test.
2019-11-25 00:15:20 +01:00
Damien Elmes
8737c6737b another fix for mathjax+cloze 2017-09-12 13:53:08 +10:00
Damien Elmes
0c20da1069 fix conditional templates 2016-06-30 22:23:31 +10:00
Damien Elmes
15b349e3a8 start port to python 3
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
dae
8491c907ba fix cloze order
must be next to Text now; will document
2014-06-03 18:05:09 +09:00
dae
09253b661c getEmptyDeck() -> getEmptyCol() 2014-06-03 17:38:47 +09:00
Julien Baley
a88a8429e2 Makes the test agree with the current behaviour of chained mod (cloze not always first) 2014-04-15 17:39:09 +01:00
Julien Baley
37753b1ffd Adding tests for chained modifiers 2014-02-18 17:26:41 +00:00
Damien Elmes
b2457811a2 optimize imports 2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00