Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1295,7 +1295,7 @@ |
1296 | 1296 | $editurl = '§ion='.$section; |
1297 | 1297 | $url = $this->makeKnownLinkObj( |
1298 | 1298 | $nt, |
1299 | | - wfMsg('editsection'), |
| 1299 | + htmlspecialchars(wfMsg('editsection')), |
1300 | 1300 | 'action=edit'.$editurl, |
1301 | 1301 | '', '', '', $hint |
1302 | 1302 | ); |
— | — | @@ -1311,9 +1311,9 @@ |
1312 | 1312 | // For reverse compatibility, add the brackets *after* the hook is run, |
1313 | 1313 | // and even add them to hook-provided text. |
1314 | 1314 | if( is_null( $result ) ) { |
1315 | | - $result = wfMsg( 'editsection-brackets', $url ); |
| 1315 | + $result = wfMsgHtml( 'editsection-brackets', $url ); |
1316 | 1316 | } else { |
1317 | | - $result = wfMsg( 'editsection-brackets', $result ); |
| 1317 | + $result = wfMsgHtml( 'editsection-brackets', $result ); |
1318 | 1318 | } |
1319 | 1319 | return "<span class=\"editsection\">$result</span>"; |
1320 | 1320 | } |