I’ve uploaded an Arabic add-on (1642554134) to AnkiWeb and would appreciate if divs or spans with the dir attribute were supported so that the description looks a bit prettier
On a slightly unrelated note, I noticed that non-latin characters are stripped from add-on names but leading/trailing spaces are not stripped:
My add-on has the name ARLPCG (مستورد المنظومات والقصائد) and it ends up being ARLPCG in Anki (Note the trailing space).
If support for non-latin characters is not possible now, could the spaces be stripped at least?
I also think that names that consist entirely of non-latin characters will end up being empty in Anki. It seems there are no checks to prevent that in the add-on upload screen.
Ok, you should be able to use dir in divs now, and the next Anki version will strip the trailing whitespace. The download endpoint avoids non-latin text and spaces, because older Anki versions didn’t support spaces, and support for non-Latin text seems to be inconsistent across the browsers