# “When I print the back of my card, the text formatting isn’t preserved—line breaks and spacing are removed and everything runs together.” What do I do

**URL:** <https://forums.ankiweb.net/t/when-i-print-the-back-of-my-card-the-text-formatting-isn-t-preserved-line-breaks-and-spacing-are-removed-and-everything-runs-together-what-do-i-do/69534>\
**Category:** Card Design\
**Created:** [April 26, 2026, 1:24am UTC](https://forums.ankiweb.net/t/when-i-print-the-back-of-my-card-the-text-formatting-isn-t-preserved-line-breaks-and-spacing-are-removed-and-everything-runs-together-what-do-i-do/69534 "2026-04-26T01:24:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 26, 2026, 3:01am UTC](https://forums.ankiweb.net/t/when-i-print-the-back-of-my-card-the-text-formatting-isn-t-preserved-line-breaks-and-spacing-are-removed-and-everything-runs-together-what-do-i-do/69534/2 "2026-04-26T03:01:43Z")

</div>

Are you using a type-answer field, that strips all the formatting out?

If not, there are 3 Styling and formatting places that could be coming from, and they interact.

1. The [styling for your note type](https://docs.ankiweb.net/templates/styling.html), where classes of formatting can be defined overall for all of the cards, or for specific cards, or specific parts of cards.
2. The card templates themselves call those classes defined in styling, but they can also contain formatting for [specific field replacements](https://docs.ankiweb.net/templates/styling.html#field-styling).
3. Formatting in the text of a specific note is controlled in the note editor by the [editing toolbar](https://docs.ankiweb.net/editing.html#editing-features). You might need to open the HTML view (click `< >` above the field) to see it in the field.

Where is your formatting and what is going on at the other two places?

Once you figure out what needs to change, if you need more specific help with the HTML or CSS in your templates/Styling, you can post it here – **as text (not a screenshot)**, and in a  
```

```auto
preformatted-text/code-block (by putting backticks above/below)

```

```  
– and folks can probably help you with what needs to change.

---

_[View the full topic](https://forums.ankiweb.net/t/when-i-print-the-back-of-my-card-the-text-formatting-isn-t-preserved-line-breaks-and-spacing-are-removed-and-everything-runs-together-what-do-i-do/69534)._
