Order Printer - Line breaks in Order Notes being removed

georgef
Tourist
4 0 0

Hi,

I have just started using Shopify Order Printer to print the Order Notes onto a card as a gift message. However, I noticed any line breaks are being removed, which can make the text a bit less visually appealing. Is there any way I can preserve the line breaks?

Here is the code I'm using:

<style>

#parent {
 margin: 0 10%;
}

.cardp {
font-family: Georgia Pro;
text-align: center;
font-weight: 500;
font-size: 20px;
line-height: 1.8;
}

</style>

<div id="parent">
  <div class="cardp">
    {{ note }}
  </div
</div>

 

Thank you

0 Likes
georgef
Tourist
4 0 0

Even just using {{ note }} by itself as the template seems to remove the line breaks.

0 Likes