fix for latex - issue 1368

issue 1368, also related is this commit in the test side https://github.com/iniju/Anki-Android-Test/commit/ac499a49cea549b541219fae63cc71a5fae8ac5a