diff -r 52017732bc20 -r f6454d5fec7a includes/wikiengine/Render/Xhtml/Wikilink.php --- a/includes/wikiengine/Render/Xhtml/Wikilink.php Wed Jul 11 15:36:01 2007 -0400 +++ b/includes/wikiengine/Render/Xhtml/Wikilink.php Wed Jul 11 15:56:18 2007 -0400 @@ -99,7 +99,17 @@ // up what the user typed and what we're checking. //$page = $this->urlEncode($page); $anchor = $this->urlEncode($anchor); - $text = $this->textEncode($text); + // $text = $this->textEncode($text); + + // hackish fix for the "external" image in Oxygen [added for Enano] + if ( preg_match('/<(.+?)>/is', $text) ) + { + $nobg = ' style="background-image: none; padding-right: 0;"'; + } + else + { + $nobg = ''; + } // does the page exist? if ($exists) { @@ -123,7 +133,7 @@ // get the CSS class and generate output $css = $this->formatConf(' class="%s"', 'css'); - $start = ''; + $start = ''; $end = ''; } else { @@ -146,7 +156,7 @@ // get the CSS class and generate output $css = $this->formatConf(' class="%s"', 'css'); - $start = ''; + $start = ''; $end = ''; }