ISBN links disabled insides of [[link]]s, too, upon brions request
authorJens Frank <jeluf@users.mediawiki.org>
Sat, 6 Mar 2004 21:51:58 +0000 (21:51 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sat, 6 Mar 2004 21:51:58 +0000 (21:51 +0000)
includes/Parser.php

index c0b6efa..4dbc77f 100644 (file)
@@ -662,7 +662,11 @@ class Parser
                                        }
                                        break;
                                case "ISBN ":
-                                       $txt = $this->doMagicISBN( $tokenizer );
+                                       if ( $tagIsOpen ) {
+                                               $txt = "ISBN ";
+                                       } else {
+                                               $txt = $this->doMagicISBN( $tokenizer );
+                                       }
                                        break;
                                default:
                                        # Call language specific Hook.