Typing into a removed super/subscript area only sets font size

When text is placed in the superscript or subscript, the appropriate HTML tags are added. Removing the text also removes the HTML tags in the HTML editor view (same goes for underlines etc.).
When typing new text at the location, Anki tries to reapply the previous format (as it also does for underlines etc.), but it doesn’t add <sub>, but <span style="font size: 16.6667px;"> instead (same goes for superscript).

Steps to recreate (with example text abc):

  1. Type abc & set b to super- or subscript
  2. Remove b with backspace - the HTML tags are removed as well
  3. When typing after a, the aforementioned smaller font size will be used, but no subscript.

I’m afraid this is likely an issue with the web engine we use, rather than Anki itself.