fix: add quotes around attribute value (#54108)

This commit is contained in:
Ilenia 2024-03-15 19:19:48 +01:00 committed by GitHub
parent b5b67b2fcf
commit b365d1405d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
31 changed files with 62 additions and 62 deletions

View File

@ -315,7 +315,7 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
</div>
`;

View File

@ -336,7 +336,7 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
</p>

View File

@ -318,9 +318,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -318,9 +318,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -320,9 +320,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -318,9 +318,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -314,9 +314,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -317,9 +317,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -306,9 +306,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -339,9 +339,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -306,9 +306,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -323,9 +323,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -317,9 +317,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -303,9 +303,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -312,9 +312,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -306,9 +306,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -318,9 +318,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -326,9 +326,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -308,9 +308,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -306,9 +306,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -320,9 +320,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -346,9 +346,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -302,9 +302,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -300,9 +300,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -316,9 +316,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -321,9 +321,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -314,9 +314,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -300,9 +300,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -326,9 +326,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -318,9 +318,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>
@ -672,9 +672,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>

View File

@ -301,9 +301,9 @@ class ShoppingCart {
currentProductCount > 1
? currentProductCountSpan.textContent = `${currentProductCount}x`
: productsContainer.innerHTML += `
<div id=dessert${id} class="product">
<div id="dessert${id}" class="product">
<p>
<span class="product-count" id=product-count-for-id${id}></span>${name}
<span class="product-count" id="product-count-for-id${id}"></span>${name}
</p>
<p>${price}</p>
</div>