Permalink
Browse files

Merge branch 'MDL-24887' of git://git.luns.net.uk/moodle into MOODLE_…

…19_STABLE
  • Loading branch information...
2 parents 2a44c51 + 9955ec8 commit 443b5044a547bf1af9ce97f2dcdbcbdd11215522 @stronk7 stronk7 committed Aug 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rsslib.php
View
@@ -521,7 +521,7 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $shar
$returnstring .= '<input type="hidden" name="user" value="'. $USER->id .'" />'."\n";
$returnstring .= '<input type="hidden" name="sesskey" value="'. sesskey() .'" />'."\n";
$returnstring .= '<br /><input type="submit" value="';
- $validatestring = "<a href=\"#\" onclick=\"window.open('http://feedvalidator.org/check.cgi?url='+getElementById('block_rss').elements['url'].value,'validate','width=640,height=480,scrollbars=yes,status=yes,resizable=yes');return true;\">". get_string('validatefeed', 'block_rss_client')."</a>";
+ $validatestring = "<a href=\"#\" onclick=\"window.open('http://feedvalidator.org/check.cgi?url='+escape(getElementById('block_rss').elements['url'].value),'validate','width=640,height=480,scrollbars=yes,status=yes,resizable=yes');return true;\">". get_string('validatefeed', 'block_rss_client')."</a>";
if ($act == 'rssedit') {
$returnstring .= $stredit;

0 comments on commit 443b504

Please sign in to comment.