• Resolved nayeem33

    (@nayeem33)


    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)
  • ACF Support

    (@acfsupport)

    Hi there!

    ACF Support Team here. This forum is generally used by ACF users to help each other out.

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ?support form and we can look into it further.

Viewing 1 replies (of 1 total)
  • The topic ‘HTML tag removed on render.’ is closed to new replies.