EN > product > description : \n = only 1 br
All checks were successful
Deploy / Deploy to Production (push) Successful in 8s

This commit is contained in:
isUnknown 2026-01-22 13:19:26 +01:00
parent f829024aae
commit b78a6f822a

View file

@ -84,7 +84,7 @@
if (detailsEl) {
const description =
isEnglish && product.descriptionEn?.value
? product.descriptionEn.value.replaceAll("\n", "<br><br>")
? product.descriptionEn.value.replaceAll("\n", "<br>")
: product.descriptionHtml || "";
detailsEl.innerHTML = description;
}