Permalink
Browse files

Revert to previous (upstream) commit: "add classes to interwiki icons"

This reverts commit 47b0d67.
  • Loading branch information...
samwilson committed May 1, 2012
1 parent d371e7e commit 8857a274a0eabede52ce4608ca85c1c2bdeeed2d
Showing with 1 addition and 2 deletions.
  1. +1 −2 renderer.php
View
@@ -79,7 +79,6 @@ function acronym($acronym) {
/**
* reformat links if needed
*/
-
function _formatLink($link){
// prefix interwiki links with interwiki icon
if($link['name'][0] != '<' && preg_match('/\binterwiki iw_(.\w+)\b/',$link['class'],$m)){
@@ -91,7 +90,7 @@ function _formatLink($link){
$img = DOKU_BASE.'lib/images/interwiki.png';
}
- $link['name'] = '<img src="'.$img.'" width="16" height="16" style="vertical-align: center" class="'.$link['class'].'" />'.$link['name'];
+ $link['name'] = '<img src="'.$img.'" width="16" height="16" style="vertical-align: center" />'.$link['name'];
}
return parent::_formatLink($link);
}

0 comments on commit 8857a27

Please sign in to comment.