reverting to r7331521f1532
authorMilos Dinic <milossh@bitbucket.org>
Fri, 10 Dec 2010 03:44:52 +0100
changeset 46 d14219fa04beaca66f1c82e0289ea1d05a2dac48
parent 45 bbac83daa5ded9bef39ffe8f80e1efc6200f4a60
child 47 0ea76bac2c750d2ac1634affb968dbfb79991782
push id22
push userzbraniecki@mozilla.com
push dateFri, 10 Dec 2010 02:47:45 +0000
reverting to r7331521f1532
mediawiki/skins/gmo.php
--- a/mediawiki/skins/gmo.php
+++ b/mediawiki/skins/gmo.php
@@ -207,17 +207,16 @@ class GMOTemplate extends QuickTemplate 
                                 } 
                             else {}
                         }
                         for ($i = 0; $i <= $key; $i++) {
                             if($i == $elements_count) { $url .= $pieces[$i]; }
                             else {$url .= $pieces[$i] . "/";}
                         }
                         $url = preg_replace('/ /', '_', $url);
-                        $url = htmlspecialchars($url, ENT_QUOTES);
                         if ($url != "" && $label != $last_piece) { /* don't put | sign after the last piece */
                             if(!array_search("action=", $moj_niz) && $last_piece != "Main_Page") {
                                 echo "<span class=\"breadcrumb-item\"> <a href=" . substr_replace($url ,"",-1) . ">" . $label . "</a> > </span>";
                             } else {}
                         } else {
                             if(!array_search("action=", $moj_niz)) {
                                 echo "<span class=\"breadcrumb-item\"> <a href=" . $url . ">" . $label . "</a></span>";
                             } else {}