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) {
|
||||
const description =
|
||||
isEnglish && product.descriptionEn?.value
|
||||
? product.descriptionEn.value.replace("\n", "<br><br>")
|
||||
? product.descriptionEn.value.replaceAll("\n", "<br><br>")
|
||||
: product.descriptionHtml || "";
|
||||
detailsEl.innerHTML = description;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue