If I enter code between tickers ie: ``` my_code < 100 ``` editor changes character β<β into β<β and than renders it as β>β in preview mode.
If the same text is put outside of ``` tickers HTML editor also changes character β<β into β<β but renders it correctly as β<β in preview mode.
I donβt think there is any solution to that. You do have the option of starting a new post with a suggestion in Anki > Suggestions category.
As for existing workarounds, there was someone else with the same issue in discord (I suggested HTML view to even them). They posted a workaround there that involves some extra code.
Final solution, for anyone interested. I just have to decode the html entities manually.
Probably more reliable to render {{Front}} / {{Back}} to templates initially, but this works for me.
I suppose the script takes it into account, as this section replaces < back with β<β:
The only issue with the piece of code you tried to place in the field might be the literal < and > it contains, but you can avoid them being modified by escaping the ampersand the second time and replacing it with & (< should become &lt;, for example).
Or does this still not look right when viewing cards in the reviewer?