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

master
Andrew Dolgov 16 years ago
parent e3d410c0f1
commit ddb61e79af

@ -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'

@ -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\"

Loading…
Cancel
Save