EN > product > description : \n = only 1 br
All checks were successful
Deploy / Deploy to Production (push) Successful in 8s
All checks were successful
Deploy / Deploy to Production (push) Successful in 8s
This commit is contained in:
parent
f829024aae
commit
b78a6f822a
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
||||||
if (detailsEl) {
|
if (detailsEl) {
|
||||||
const description =
|
const description =
|
||||||
isEnglish && product.descriptionEn?.value
|
isEnglish && product.descriptionEn?.value
|
||||||
? product.descriptionEn.value.replaceAll("\n", "<br><br>")
|
? product.descriptionEn.value.replaceAll("\n", "<br>")
|
||||||
: product.descriptionHtml || "";
|
: product.descriptionHtml || "";
|
||||||
detailsEl.innerHTML = description;
|
detailsEl.innerHTML = description;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue