Hi! I'm experiencing a recurring issue when editing existing cards in Mochi.
The card is initially created correctly and works normally. It contains several separate fields, such as ID, Question, Answer, Topic, Source, and Notes. However, when I open an already existing card, click Edit, make any change, and save it again, the card becomes incorrectly formatted when I review it.
After saving the edited card, HTML that should be interpreted as formatting starts appearing as literal text. For example, tags such as <div class="resposta"> and </div> are displayed directly in the card instead of being rendered. At the same time, the structure of the other fields also seems to be lost. Content that originally belonged to separate fields, such as Source, Notes, and ID, is shown sequentially as plain text below the answer, almost as if all the fields had been merged into a single block of content.
The important part is that this does not seem to be only a visual or cache-related issue. I can reproduce the same behavior both on the macOS application and on the iPhone app. I do not use the paid cloud synchronization feature, so I usually move my collection between devices by exporting and importing it manually. Even after exporting the collection and importing it again on a different device, the affected cards remain broken in exactly the same way.
Because the issue survives export/import and also appears on different devices, it seems that something may be changing in the card data itself when an existing card is edited and saved, possibly affecting how the fields or HTML content are serialized and later interpreted.
Has anyone experienced this before, or could this be a bug related to editing cards that use multiple fields or HTML formatting?
Steps to reproduce:
Create a card with multiple fields. Save it and confirm that it displays normally. Open the card again and select Edit. Modify any content. Save the card. Review the card again. The card now displays raw HTML and some of the fields are shown as plain text instead of being rendered/handled separately.