Href CSS formatting disappears in Editor

Version ⁨2.1.49
Version 2.1.54

Open HTML Editor

You can see:
<link href="_litauisch-deutsch.css" rel="stylesheet">
grafik

Close HTML Editor

CSS formatting is gone

Why does this happen?

Anki expects links to external content to be placed in the card template, and not on individual fields. Currently the only way to style the content in the editing screen without add-ons is with inline styling.

Thank you. I copied the href at the end of the html code and it worked again.
It used to work in an older version but after the update it strips off the href when opening the html editor. That behaviour is gone as soon as href is at the end of the html code

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.