diff --git a/src/lib/productCard.ts b/src/lib/productCard.ts
index a5ec7f0..6974d11 100644
--- a/src/lib/productCard.ts
+++ b/src/lib/productCard.ts
@@ -333,10 +333,10 @@ function renderTexts(p: CardProduct, ctx: CardContext): string {
: p.unitPrice;
const validity = p.validityOverride || ctx.validity;
const small = (text: string) =>
- `
${escapeHtml(text)}
`;
- return `${escapeWithBreaks(p.title)}${p.quantity ? ` ${escapeHtml(p.quantity)}` : ''}
${
+ `${escapeWithBreaks(text)}
`;
+ return `${escapeWithBreaks(p.title)}${p.quantity ? ` ${escapeWithBreaks(p.quantity)}` : ''}
${
unitPrice ? `
- ${escapeHtml(unitPrice)}
` : ''}${
+ ${escapeWithBreaks(unitPrice)}
` : ''}${
p.note ? small(p.note) : ''}${validity ? small(validity) : ''}`;
}