HTML tag removed on render.

[ad_1]

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?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer