Handle uppercase 'a' tags
authorJoao Ventura
Tue, 26 Feb 2008 22:26:14 +0000 (22:26 +0000)
committerJoao Ventura
Tue, 26 Feb 2008 22:26:14 +0000 (22:26 +0000)
print.module

index d48b3e6..ac5e0ec 100644 (file)
@@ -575,7 +575,7 @@ function print_rewrite_urls($matches) {
   $matches[1] = str_replace("%20", " ", $matches[1]);
 
   $ret = '<'. $matches[1] .'>';
-  if ($attribs[0] == "a") {
+  if (strtolower($attribs[0]) == "a") {
     $ret .= $matches[2] .'</a>';
     if (($pfurls) && ($newurl)) {
       $ret .= ' <span class="print-footnote">['. print_friendly_urls(trim(stripslashes($newurl))) .']</span>';