# Intermittent problem displaying a text field in AnkiDroid that displays in desktop

**URL:** <https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191>\
**Category:** Help\
**Created:** [March 13, 2025, 1:14pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191 "2025-03-13T13:14:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardh](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/richardh/32/27607_2.png) [@richardh](https://forums.ankiweb.net/u/richardh)\
**Post date:** [March 13, 2025, 1:14pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/1 "2025-03-13T13:14:34Z")

</div>

I’m having a problem where the front card is not showing a text field in AnkiDroid, but the field is showing up fine in Anki for Mac desktop.

The maddening thing is that this is only happening intermittently.

I don’t think it’s a template issue where AnkiDroid is parsing the template differently than the Desktop version, because

- it works in AnkiDroid for some cards with the same template, but not others.

And I don’t think it’s a data issue where I entered the data inappropriately, because

- I checked the data for some of the cards that worked, and some that didn’t, and the field is correctly filled in on all of them
- Also all the cards in both categories (working in AnkiDroid and not working in AnkiDroid) work correctly in the desktop version

Has anyone encountered this problem, and have any idea what might be causing it?

* * *

Here is the template for the front card (the intermittently missing field is `{{Word}}`. The `{{Pronunciation (Recording and/or IPA)}}` field is consistently displaying correctly, on both Anki for desktop and AnkiDroid):

```auto
<font color=blue>Guess the gender</font><br><br>

{{Word}}

{{#Pronunciation (Recording and/or IPA)}}<br><font color=blue>{{Pronunciation (Recording and/or IPA)}}</font>{{/Pronunciation (Recording and/or IPA)}}<br>

```

And here’s the debug info:

```auto
AnkiDroid Version = 2.20.1 (e32a82c33646807ea19623c9c88be38965bc07e6)

Backend Version = 0.1.48-anki24.11 (24.11 c47638ca36f99dd4f3b81ae82d964aec66e392e0)

Android Version = 15 (SDK 35)

ProductFlavor = play

Manufacturer = Google

Model = Pixel 6

Hardware = oriole

Webview User Agent = Mozilla/5.0 (Linux; Android 15; Pixel 6 Build/AP4A.250205.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/133.0.6943.137 Mobile Safari/537.36

ACRA UUID = be7b477e-cc54-4859-86c7-dcd07f4b0862

FSRS = 1.4.3 (Enabled: true)

Crash Reports Enabled = true 

```

---

<div class="post-metadata">

**Author:** ![richardh](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/richardh/32/27607_2.png) [@richardh](https://forums.ankiweb.net/u/richardh)\
**Post date:** [March 13, 2025, 1:58pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/2 "2025-03-13T13:58:41Z")

</div>

**Solved:** This is a pretty similar issue to the recent forum post, “Sporadic markup on AnkiDroid with formatting inserted that are not on Anki Desktop”.

I was copying and pasting html (I think this was happening when I was copying from a pdf) instead of plain text into the word field, and the browser view doesn’t make that obvious by default; you have to click the “\<\>” button to show the code in the field.

One of the ones that was working:

 ![Screenshot 2025-03-13 at 9.51.55 AM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/7/e/7e2407d468d31392fa2fb5330e6b2d1acb8cf6de.png)

One of the ones that wasn’t working:

 ![Screenshot 2025-03-13 at 9.52.09 AM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/b/6/b6da1f6ce93438f659b2f9491e18036ce91f0d26.png)

The solution is 1) not to copy from a pdf, or 2) to copy into some program that strips the formatting, like Mac TextEdit with the formatting off, or VS Code, before recopying into Anki, or 3) to click on the ‘\<\>’ in Anki and _then_ paste, as described in a comment on the recent forum post above.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 13, 2025, 3:21pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/3 "2025-03-13T15:21:37Z")

</div>

Ref: [Sporadic markup on AnkiDroid with formatting inserted that are not on Anki Desktop](https://forums.ankiweb.net/t/sporadic-markup-on-ankidroid-with-formatting-inserted-that-are-not-on-anki-desktop/54359)

> [@richardh](#):
>
> The solution is

`Ctrl Shift V` to strip formatting on the original paste also _generally_ helps (despite the other user’s claim that it wouldn’t).

---

<div class="post-metadata">

**Author:** ![richardh](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/richardh/32/27607_2.png) [@richardh](https://forums.ankiweb.net/u/richardh)\
**Post date:** [March 13, 2025, 3:29pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/4 "2025-03-13T15:29:58Z")

</div>

Oh interesting; I’ll try that.

---

<div class="post-metadata">

**Author:** ![richardh](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/richardh/32/27607_2.png) [@richardh](https://forums.ankiweb.net/u/richardh)\
**Post date:** [March 13, 2025, 3:31pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/5 "2025-03-13T15:31:27Z")

</div>

Incidentally this problem occurs both when copying from pdfs and when copying from Apple Numbers (and I’m guessing Excel and Google Sheets too).

---

<div class="post-metadata">

**Author:** ![SuhasK](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SuhasK](https://forums.ankiweb.net/u/SuhasK)\
**Post date:** [March 13, 2025, 3:56pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/6 "2025-03-13T15:56:43Z")

</div>

Well, this would happen from any place with allows you to copy html formatting along with the copied text. What is going on behind the scenes is when you’re copying, the html and the text you see both are being copied, and if the place you are pasting it supports html formatting, it gets pasted with the formatting if you Ctrl + V (Cmd + V on Mac), and the formatting is removed if you paste it with Ctrl + Shift + V (Cmd + Shift + V on Mac).

Oh, and if it is already there in your field, you don’t need to go to some other software to get rid of the formatting, you can directly use the eraser button.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [April 12, 2025, 3:57pm UTC](https://forums.ankiweb.net/t/intermittent-problem-displaying-a-text-field-in-ankidroid-that-displays-in-desktop/57191/7 "2025-04-12T15:57:31Z")

</div>

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