Index: trunk/phase3/includes/PatrolLog.php |
— | — | @@ -67,7 +67,8 @@ |
68 | 68 | return wfMsgHtml( 'patrol-log-line', $diff, $link, $auto ); |
69 | 69 | } else { |
70 | 70 | $text = $title->getPrefixedText(); |
71 | | - return wfMsgForContent( 'patrol-log-line', wfMsgHtml('patrol-log-diff',$cur), "[[$text]]", '' ); |
| 71 | + $diff = htmlspecialchars( wfMsgForContent( 'patrol-log-diff', $cur ) ); |
| 72 | + return wfMsgForContent( 'patrol-log-line', $diff, "[[$text]]", '' ); |
72 | 73 | } |
73 | 74 | } |
74 | 75 | |