Index: trunk/extensions/wikihiero/wikihiero.body.php |
— | — | @@ -177,7 +177,7 @@ |
178 | 178 | if ( array_key_exists( $code, self::$files ) ) { |
179 | 179 | return "<img {$imageClass}style='margin:" . WH_IMG_MARGIN . "px;' $option src='" . htmlspecialchars( WH_IMG_DIR . WH_IMG_PRE . "{$code}." . self::IMG_EXT ) . "' title='" . htmlspecialchars( "{$code} [{$glyph}]" ) . "' alt='" . htmlspecialchars( $glyph ) . "' />"; |
180 | 180 | } else { |
181 | | - return "<font title='" . htmlspecialchars( $code ) . "'>" . htmlspecialchars( $glyph ) . "</font>"; |
| 181 | + return htmlspecialchars( $glyph ); |
182 | 182 | } |
183 | 183 | } elseif ( array_key_exists( $glyph, self::$files ) ) { |
184 | 184 | return "<img {$imageClass}style='margin:" . WH_IMG_MARGIN . "px;' $option src='" . htmlspecialchars( WH_IMG_DIR . WH_IMG_PRE . "{$glyph}." . self::IMG_EXT ) . "' title='" . htmlspecialchars( $glyph ) . "' alt='" . htmlspecialchars( $glyph ) . "' />"; |