EN > product > description : fix line breaks
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
This commit is contained in:
parent
6d68ea0145
commit
f829024aae
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.replace("\n", "<br><br>")
|
? product.descriptionEn.value.replaceAll("\n", "<br><br>")
|
||||||
: product.descriptionHtml || "";
|
: product.descriptionHtml || "";
|
||||||
detailsEl.innerHTML = description;
|
detailsEl.innerHTML = description;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue