User:PhiLiP/diff/ParserPatch.diff

Index: Parser.php
===================================================================
--- Parser.php	(revision 45403)
+++ Parser.php	(working copy)
@@ -3304,6 +3304,7 @@
 						throw new MWException( '<html> extension tag encountered unexpectedly' );
 					}
 				case 'nowiki':
+					$content = strtr($content, array('' => '-{', '', '}-'));
 					$output = Xml::escapeTagsOnly( $content );
 					break;
 				case 'math':