]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
db_escape_string: remove tags by default (refs #323)
[tt-rss.git] / functions.php
index 0a7559368033ba656235fbf67203d351e176601b..16780fd1fcb7fe0f0b89aa3566877274c6af5607 100644 (file)
                                $result = db_query($link, "SELECT id FROM       ttrss_entries 
                                        WHERE guid = '$entry_guid'");
 
-                               $entry_content = db_escape_string($entry_content);
+                               $entry_content = db_escape_string($entry_content, true);
 
                                $content_hash = "SHA1:" . sha1(strip_tags($entry_content));