XML Tags deleting

QuestionsXML Tags deleting
Py asked 5 years ago

When adding XML data in a textarea, Php Grid deletes the tags from the XML.

What is the solution for XML tags to remain?

1 Answers
Abu answered 5 years ago

It automatically strip_tags for security reasons unless you specify formatter to html, but it’s supported in latest full build.

Alternate, You can disable grid sanitization process by:

$opt[“sanitize”] = false;
//…
$g->set_options($opt);

Your Answer

16 + 5 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?