Bug: "Edit HTML" in adding cards


when I edit the content of a card in HTML and type
it will lead to the error shown in the screenshot.

The opening <table> tag is missing which in combination with the <tbody> tag might be the issue.

The user loses the typed content.

OS: macOS Catalina, 10.15.7
Anki Version: 2.1.35 (84dcaa86), Python 3.8.0 Qt 5.14.2 PyQt 5.14.2

1 Like

Anki makes some attempt to handle invalid HTML, but it can’t cope with this case. In an ideal world Anki would cope with whatever broken HTML you input, but it currently does not.

1 Like