Closed SimonHeimberg closed 2 years ago
Edit the card template and add .night_mode {}
to disable auto-night mode inversion
The HTML should work. Have you checked the HTML inspector?
By looking at "card.html" I have seen that all the newlines inside the style attribute are replaced by a <br>
tag. A style tag with <br>
inside is invalid of course. It works when I delete all newlines in <style>
.
Is this an effect of the setting to replace newlines? I understood it only the other way around. :-/
Thank you for the hint with .night_mode
. I will try it.
So thank you very much. It is not an issue.
@SimonHeimberg
To confirm: is there anything actionable here that I can help with?
We have plans to both swap out the editors for a visual editor, and before then, move the 'newline' setting inside the Note Editor.
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Reproduction Steps
Expected Result
the text "red" has red background, as it has on anki desktop and anki web.
Actual Result
the text "red" has no special background
(Use case: Trying to set the background color independent of the night mode. The colour seems to be inverted in ankidroid only, the hint is in anki manual, so it might not work in many ways.)
Debug info
AnkDroid Version = 2.15.6
Android Version = 9
Webview User Agent = Mozilla/5.0 (Linux; Android 9; GT-I9595 ...
(More info on demand, since I report the error on a desktop device.)
Research
Enter an [x] character to confirm the points below: