Open ClaytonRefold opened 2 months ago
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing
Found a workaround. Apparently the issue is caused because there's a script tag in a div. Everything after the script tag gets ignored by AnkiDroid.
Fixed by moving all scripts to the end of the file.
Found a workaround. Apparently the issue is caused because there's a script tag in a div. Everything after the script tag gets ignored by AnkiDroid.
Fixed by moving all scripts to the end of the file.
i tried it but it dosen't work, my scripts are in the end of the front and the back whithout div tag. Does it work for you @ClaytonRefold ?
In my case ankidroid doesn't recognize an id tag
Hey,
I found what is the problem but not the solution. Ankidroid does not recognize the tag "id" which is used in the back and re-used in the front. Yet on computer or in ankidroid prewiew it works.
An example : Here is a script to write the answer and display it on the back:
FRONT :
(here i capture the id value of "typeanwser" for the back) BACK: but it's workd on review mode ? it's strange.
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
Expected behaviour
The back of the card should have additional fields.
Actual behaviour
The back of the card is missing fields.
https://github.com/user-attachments/assets/dd565f29-38c5-4814-903b-3091cbce111e
Debug info
(Optional) Anything else you want to share?
I posted about the bug and discussed it with David A in discord.
Discord user
jorge_baboy
Research