# Troubles with HTML

**URL:** <https://forums.ankiweb.net/t/troubles-with-html/12226>\
**Category:** Help\
**Created:** [August 12, 2021, 3:50am UTC](https://forums.ankiweb.net/t/troubles-with-html/12226 "2021-08-12T03:50:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxcvbn](https://avatars.discourse-cdn.com/v4/letter/z/48db29/32.png) [@zxcvbn](https://forums.ankiweb.net/u/zxcvbn)\
**Post date:** [August 12, 2021, 3:50am UTC](https://forums.ankiweb.net/t/troubles-with-html/12226/1 "2021-08-12T03:50:40Z")

</div>

After updating to a new version, I got this in Browser and Editor:  
2.1.35 [Screenshot by Lightshot](https://prnt.sc/1jix3q0)  
2.1.46 [Screenshot by Lightshot](https://prnt.sc/1jiy68f)  
But in the Review and Preview, the appearance is correct.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 12, 2021, 8:47am UTC](https://forums.ankiweb.net/t/troubles-with-html/12226/2 "2021-08-12T08:47:09Z")

</div>

Differences in appearance between the editor and review/preview could be due to CSS styling in your card templates, which doesn’t affect the card appearance in the editor. Check styling from the Cards layout screen (click the Cards button in the editor).  
Though I’m not sure why 2.1.35 is different in this regard.

---

<div class="post-metadata">

**Author:** ![zxcvbn](https://avatars.discourse-cdn.com/v4/letter/z/48db29/32.png) [@zxcvbn](https://forums.ankiweb.net/u/zxcvbn)\
**Post date:** [August 23, 2021, 8:52am UTC](https://forums.ankiweb.net/t/troubles-with-html/12226/3 "2021-08-23T08:52:08Z")

</div>

Sorry, but I have problems.  
I get large line spacing in the browser and editor. In preview, and review everything is ok.

> **[Screenshot](https://prnt.sc/1qffnfx)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 24, 2021, 3:20am UTC](https://forums.ankiweb.net/t/troubles-with-html/12226/4 "2021-08-24T03:20:49Z")

</div>

The deck includes formatting that Anki would normally strip. You’ll need to contact the deck/add-on author for assistance.

---

<div class="post-metadata">

**Author:** ![zxcvbn](https://avatars.discourse-cdn.com/v4/letter/z/48db29/32.png) [@zxcvbn](https://forums.ankiweb.net/u/zxcvbn)\
**Post date:** [August 24, 2021, 1:59pm UTC](https://forums.ankiweb.net/t/troubles-with-html/12226/5 "2021-08-24T13:59:17Z")

</div>

But this applies not only to new, but also to old cards. Old cards have lost their normal appearance.

---

<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:** [May 1, 2023, 4:54am UTC](https://forums.ankiweb.net/t/troubles-with-html/12226/6 "2023-05-01T04:54:10Z")

</div>


