Shopify checkout displaying line break html

Topic summary

A user added a second line to product titles to display Black Friday discount details using an HTML line break (<br>). The formatting displays correctly throughout the website but breaks in the checkout, showing the raw <br> tag instead of rendering properly.

Issue: HTML line breaks in product titles are not rendering in Shopify checkout.

Response: Shopify’s checkout has formatting restrictions that prevent custom HTML from rendering. The suggested workaround is to use Metafields or Tags to display discount announcements on product pages instead of embedding them directly in product titles.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Hello!

Wondering if anyone has an easy solution - I have added a second line to my product titles stating the current black friday discount details. Throughout the website it is displaying correctly until you get to the checkout. Any way I can make the < br > dissapear in checkout?

@sarahche unfortunately you can’t change the format in the checkout due to the restrictions Shopify sets.

If you want to highlight a discount on the product page, I would suggest using Metafields or Tags to display discount announcements.