includes/wikiengine/Render/Xhtml/Url.php
changeset 67 f6454d5fec7a
parent 21 663fcf528726
--- a/includes/wikiengine/Render/Xhtml/Url.php	Wed Jul 11 15:36:01 2007 -0400
+++ b/includes/wikiengine/Render/Xhtml/Url.php	Wed Jul 11 15:56:18 2007 -0400
@@ -100,9 +100,15 @@
             }
 
             // generate a regular link (not an image)
-            $text = $this->textEncode($text);
+            // $text = $this->textEncode($text);
             $css = $this->formatConf(' class="%s"', "css_$type");
             $output = "<a$css href={$quote}$href{$quote}";
+            
+            // hackish fix for the "external" image in Oxygen [added for Enano]
+            if ( preg_match('/<(.+?)>/is', $text) )
+            {
+              $output .= ' style="background-image: none; padding-right: 0;"';
+            }
 
             if ($target) {
                 // use a "popup" window.  this is XHTML compliant, suggested by