Use this tag for questions related to removing tags (HTML or otherwise) from text.
This is probably pretty simple for most... I have this line in Magento which is part of what posts to …
php urlencode strip-tagsI am working on a web-service(API) where i am fetching result WP_query() function and parse that in JSON …
php wordpress strip-tags visual-composerI am using this snippet <a href='<?php the_permalink() ?>' title='<?php echo …
php wordpress strip strip-tagsI'm currently recovering from a nasty XSS attack, and realized I never sanitized inputs on several of the forms on …
php forms input sanitize strip-tagsI would like to be able to accept \n or \r\n and convert them to <br /> for …
php string-formatting strip-tagsI want to remove all styles from tags with PHP. For example. Original: <body style="color:back;"> Final: &…
php html strip-tagsI have used strip_tags to remove html tags from the text. Example <h1>title of article</…
php html strip-tagsI want to strip the tags off the value inside array_values() before imploding with tabs. I tried with this …
php arrays preg-replace implode strip-tagsI am truing to filter html characters out like this $user = $_POST["user"]; //Get username from <form> mysql_…
php mysql html filter strip-tagsI'm using this code {$entry.entry|strip_tags} to strip tags, however I would just like to strip <p&…
php smarty paragraph strip-tags