Currently, when you open a card editor, it shows the card current deck. In case of filtered deck, it shows the filtered
deck. The trouble in my opinion is that there is no way to know what is the usual deck of the card. That's extremely
useful when I need to move a card to a different deck.
The solution I use is to show the current deck and the original deck in parenthesis. This seems to me to be consistent
with anki's browser's deck column.
This was needed from when ARM emulators were used, to avoid timeouts
during app install. No longer necessary as we don't support non-accelerated
emulators anymore
Fixes#7852
In older WebViews, using a monospace font meant that some Polytonic Greek
characters did not display
This applied to <pre> and <code>, a <span> worked best to fix this.
Replicated on an API 28 emulator - will take a long time to remove this.
Fixes 7896
This should hopefully solves #7848, i.e. on samsung tablets, formulas are not correctly displayed.
The downsides are mentionned in http://docs.mathjax.org/en/latest/output/svg.html :
* it copy as image and not as text
* change in numbering of tags of equation (normally, cards are small enough that's not a problem)
Moving from getCompat().detagged(str) to Html.escapeHtml meant that
unicode characters were escaped using HTML entities.
The problem with this is that some WebViews did not display ὐ
but they did display the unicode
So we move back to only escaping the dangerous HTML
https://stackoverflow.com/questions/35104032/whats-the-difference-between-androids-html-escapehtml-and-textutils-htmlencode
Aside: This means that quotes are now escaped in the input/output.
This should not be an issue as " / ' should be supported.
Fixes 7896
Mostly adding regression cover for the HTML escaping that used to occur in
13c27a6a1f from CompatV15.detagged
We moved to Html.escapeHtml, but this also escapes some characters such as
Polytonic Greek, which some browsers cannot display as HTML entities
(but Unicode works)
This also adds a failing test for us to fix in a follow-up commit