http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96690
Revision: 96690
Author: maxsem
Date: 2011-09-09 20:19:41 +0000 (Fri, 09 Sep 2011)
Log Message:
-----------
<font>, eh?
Modified Paths:
--------------
trunk/extensions/wikihiero/wikihiero.body.php
Modified: trunk/extensions/wikihiero/wikihiero.body.php
===================================================================
--- trunk/extensions/wikihiero/wikihiero.body.php 2011-09-09 20:17:22 UTC
(rev 96689)
+++ trunk/extensions/wikihiero/wikihiero.body.php 2011-09-09 20:19:41 UTC
(rev 96690)
@@ -177,7 +177,7 @@
if ( array_key_exists( $code, self::$files ) ) {
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 ) . "' />";
} else {
- return "<font title='" . htmlspecialchars(
$code ) . "'>" . htmlspecialchars( $glyph ) . "</font>";
+ return htmlspecialchars( $glyph );
}
} elseif ( array_key_exists( $glyph, self::$files ) ) {
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 ) . "' />";
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs