mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
printTagSelect: work correctly on tags with spaces
This commit is contained in:
@@ -176,7 +176,7 @@ class Dlg extends Handler_Protected {
|
||||
|
||||
while ($row = $this->dbh->fetch_assoc($result)) {
|
||||
$tmp = htmlspecialchars($row["tag_name"]);
|
||||
print "<option value=\"" . str_replace(" ", "%20", $tmp) . "\">$tmp</option>";
|
||||
print "<option value=\"$tmp\">$tmp</option>";
|
||||
}
|
||||
|
||||
print "</select>";
|
||||
|
||||
Reference in New Issue
Block a user