* Markup anality: escape </ as <\/ in toolbar javascript for pure correctness under...
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 27 May 2006 05:25:00 +0000 (05:25 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 27 May 2006 05:25:00 +0000 (05:25 +0000)
RELEASE-NOTES
includes/EditPage.php

index 51fe8f1..797439c 100644 (file)
@@ -355,6 +355,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
   character entities in URLs, not just ampersands. This allows use of eg
   &#61; when making URLs for template parameters.
+* Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
+  under HTML-compatible browsers.
 
 
 == Compatibility ==
index 0d8f854..85b8688 100644 (file)
@@ -1522,15 +1522,15 @@ END
                                        'key'   =>      'M'
                                ),
                        array(  'image' =>'button_math.png',
-                                       'open'  =>      "\\<math\\>",
-                                       'close' =>      "\\</math\\>",
+                                       'open'  =>      "<math>",
+                                       'close' =>      "<\\/math>",
                                        'sample'=>      wfMsg('math_sample'),
                                        'tip'   =>      wfMsg('math_tip'),
                                        'key'   =>      'C'
                                ),
                        array(  'image' =>'button_nowiki.png',
-                                       'open'  =>      "\\<nowiki\\>",
-                                       'close' =>      "\\</nowiki\\>",
+                                       'open'  =>      "<nowiki>",
+                                       'close' =>      "<\\/nowiki>",
                                        'sample'=>      wfMsg('nowiki_sample'),
                                        'tip'   =>      wfMsg('nowiki_tip'),
                                        'key'   =>      'N'