HTML tag removed on render.
-
I create a textarea fields and in that fields I have JSON code. But in frontend some html code removed.
code I input
"content":"<h4 style=\"text-align: center;\">Icon box heading</h4><p style=\"text-align: center;\">Dui adipiscing efficitur primis nisl libero ut et imperdiet nisi nunc bibendum mollis habitant</p>"
code output
"content":"<h4 style="text-align: center">Icon box heading</h4><p style="text-align: center">Dui adipiscing efficitur primis nisl libero ut et imperdiet nisi nunc bibendum mollis habitant</p>"
also In some JSON code I have script tag that also removed with full URL
{"code":"<script src=\"\nhttps://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/js/splide-extension-auto-scroll.min.js\n\"></script>\n<script>\ndocument.addEventListener
How can I ensure that this is not removed?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘HTML tag removed on render.’ is closed to new replies.