simplestore
simplestore copied to clipboard
Html dont render in item description
- Html is showing as it is, not rendering.
- Is there any pagination in product index view
Please share your code or necessary snippet
On Mon, Jan 4, 2021 at 8:42 AM bsde1234 [email protected] wrote:
Html is showing as it is, not rendering.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chrisdiana/simplestore/issues/41, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISUT46J5SJUJ4OKWI5QKPTSYFILLANCNFSM4VSQYS6Q .
json
{
"products" : [
{
"name" : "Awesome T-shirt",
"price" : "35.99",
"options" : [
{ "Size" : "Small,Medium,Large" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "<p>This is a very awesome grey T-shirt</p>"
}
]
}
In product details view the item description contains <p>
. It doesn't render.
try to escape the closing tag for
. Like so,<\ /p>
On Mon, Jan 4, 2021 at 11:45 AM bsde1234 [email protected] wrote:
json
{ "products" : [ { "name" : "Awesome T-shirt", "price" : "35.99", "options" : [ { "Size" : "Small,Medium,Large" } ], "image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg", "description" : "
This is a very awesome grey T-shirt
" } ] }In product details view the item description contains
. It doesn't render.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chrisdiana/simplestore/issues/41#issuecomment-753842565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISUT4Z4NEI3X3MZGT2HGTLSYF5ZXANCNFSM4VSQYS6Q .
Not working, I mean it displays as <p>This is a very awesome grey T-shirt</p>
without rendering