# How to set Allow HTML in Fields permanently?

**URL:** <https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952>\
**Category:** Help\
**Created:** [May 31, 2025, 3:16am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952 "2025-05-31T03:16:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![matta](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matta/32/5126_2.png) [@matta](https://forums.ankiweb.net/u/matta)\
**Post date:** [May 31, 2025, 3:16am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/1 "2025-05-31T03:16:05Z")

</div>

Before posting, please do the following:

I use HTML in most of my decks. In (much?) earlier versions of Anki, I set the option Allow HTML in Fields to True and it stayed that way for all my imports for all my decks.

Now, it seems to default to False. Which means I often import updates to decks and only find out later that it has brought over ugly HTML as text rather than interpreting it.

Is there a way to make it stick as it did before?

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 31, 2025, 5:03am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/2 "2025-05-31T05:03:38Z")

</div>

Include this at the top of your file:

```auto
#html:true

```

Ref: [Text Files - Anki Manual](http://docs.ankiweb.net/importing/text-files.html#file-headers)

---

<div class="post-metadata">

**Author:** ![matta](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matta/32/5126_2.png) [@matta](https://forums.ankiweb.net/u/matta)\
**Post date:** [May 31, 2025, 5:49am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/3 "2025-05-31T05:49:10Z")

</div>

Thank you. I was hoping that there was a way within the app. But I’ll add the necessary lines at the beginning of my files from now on.  
Thanks again, @sorata

---

<div class="post-metadata">

**Author:** ![matta](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matta/32/5126_2.png) [@matta](https://forums.ankiweb.net/u/matta)\
**Post date:** [May 31, 2025, 6:26am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/4 "2025-05-31T06:26:08Z")

</div>

It’s pretty difficult to use those lines.

If I put them on the first rows of the spreadsheet, they are ignored by Anki Import. I presume that this is because LibreOffice Calc writes out a CSV with a lot of commas at the end of those lines (to match up with the columns in the rest of the sheet.

Anki Import ignores them: e.g. “#html:true,” does not set the HTML in Fields to True.

Is it possible to have the Import part of the program ignore any delimiters after expected content or even after a terminating semicolon or similar? The delimiters having already been defined using “#separator:Comma”.

Otherwise, it makes these a little too difficult to use.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 31, 2025, 7:59am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/5 "2025-05-31T07:59:22Z")

</div>

Sounds like a #Anki > Suggestions to me.

---

<div class="post-metadata">

**Author:** ![matta](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matta/32/5126_2.png) [@matta](https://forums.ankiweb.net/u/matta)\
**Post date:** [May 31, 2025, 8:11am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/6 "2025-05-31T08:11:59Z")

</div>

Thanks. Have done so.

---

<div class="post-metadata">

**Author:** ![llama](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@llama](https://forums.ankiweb.net/u/llama)\
**Post date:** [May 31, 2025, 9:46am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/7 "2025-05-31T09:46:41Z")

</div>

For the record, there is no need for a `;` at the end

---

<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:** [June 30, 2025, 9:47am UTC](https://forums.ankiweb.net/t/how-to-set-allow-html-in-fields-permanently/61952/8 "2025-06-30T09:47:30Z")

</div>

Closed on June 30, 2025, 9:47am UTC

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