Basic note (type in answer) inconsistent output for back of note

Unfortunately, type-answer fields strip out all formatting, so if you want Anki to do the comparison for you, you’re limited to plain text. This functionality is best suited to short answers where spelling is essential.

If it’s important to you to type your answer in the Anki window itself (as opposed to in a text document you have open beside Anki), what you might want to try is just a plain text box that will let you type and persist to the other side of the card. Here are a few methods for doing that –

And other from Reddit: Is there a way to type in my answers without automatically comparing them to the back of the card?