]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix several quote escaping issues
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 2 May 2006 06:01:27 +0000 (07:01 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 2 May 2006 06:01:27 +0000 (07:01 +0100)
backend.php

index a9f79667b1b2de296bf328b3a6027e892449c10e..90b18f54492d90c07f3d114650d3631986803dde 100644 (file)
                        $feed_title = "?";
                }
 
+               $feed_title = db_unescape_string($feed_title);
+
                if ($feed < -10) error_reporting (0);
 
                print "<div id=\"headlinesContainer\">";
                }
 
                while ($line = db_fetch_assoc($result)) {
-                       printf("<option id='%d'>%s</option>", $line["id"], $line["title"]);
+                       printf("<option id='%d'>%s</option>", $line["id"], 
+                               db_unescape_string($line["title"]));
                }
 
                print "</select>&nbsp;";
                                                        $is_selected = "";
                                                }
                                                printf("<option $is_selected id='%d'>%s</option>", 
-                                                       $tmp_line["id"], $tmp_line["title"]);
+                                                       $tmp_line["id"], db_unescape_string($tmp_line["title"]));
                                        }
        
                                        print "</select></td>";