feed edit dialog: make unsubscribe button work for feeds with quotes in title

This commit is contained in:
Andrew Dolgov 2008-11-17 06:49:06 +01:00
parent e3d410c0f1
commit ddb61e79af
2 changed files with 3 additions and 1 deletions

View File

@ -377,6 +377,8 @@
print "</form>"; print "</form>";
$title = htmlspecialchars($title, ENT_QUOTES);
print "<div class='dlgButtons'> print "<div class='dlgButtons'>
<div style=\"float : left\"> <div style=\"float : left\">
<input type='submit' class='button' <input type='submit' class='button'

View File

@ -115,7 +115,7 @@
print "<div class=\"dlgButtons\">"; print "<div class=\"dlgButtons\">";
$reg_exp = htmlspecialchars($reg_exp); // second escaping seems to be needed for javascript $reg_exp = htmlspecialchars($reg_exp, ENT_QUOTES); // second escaping seems to be needed for javascript
print "<div style=\"float : left\">"; print "<div style=\"float : left\">";
print "<input type=\"submit\" print "<input type=\"submit\"