projects
/
project/print.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ce3d93b
)
Handle uppercase 'a' tags
author
Joao Ventura
Tue, 26 Feb 2008 22:26:14 +0000 (22:26 +0000)
committer
Joao Ventura
Tue, 26 Feb 2008 22:26:14 +0000 (22:26 +0000)
print.module
patch
|
blob
|
blame
|
history
diff --git
a/print.module
b/print.module
index
d48b3e6
..
ac5e0ec
100644
(file)
--- a/
print.module
+++ b/
print.module
@@
-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>';