rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit bd5d5908b98ae69c42eb995c9d95790e4cf90553
parent 9ccf80acac4891c44e0cd9b6a3b13ef710241f9c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 20:43:43 +0100

remove html tags

Diffstat:
Mcore/api/v1/DbHandler.class.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -258,6 +258,7 @@ class DbHandler { if ($post["$x"]["text"] != NULL){ $post["$x"]["text"] = html_entity_decode($post["$x"]["text"]); + $post["$x"]["text"] = strip_tags($post["$x"]["text"]); }else{ $post["$x"]["text"] = NULL; }