r67749 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67748‎ | r67749 | r67750 >
Date:19:47, 9 June 2010
Author:daniel
Status:deferred
Tags:
Comment:
escape '-' and '=' at the beginning of lines.
Modified paths:
  • /trunk/extensions/DataTransclusion/DataTransclusionHandler.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataTransclusion/DataTransclusionHandler.php
@@ -233,6 +233,8 @@
234234 '!^;!m' => '&#59;',
235235 '![\r\n]!' => ' ',
236236 '!^ !m' => ' ',
 237+ '!^-!m' => '-',
 238+ '!^=!m' => '=',
237239 );
238240
239241 static function sanitizeValue( $v ) {

Status & tagging log