dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087bd45
)
alt text formatting- keep image src on one line to play nice with the parser
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 17 May 2004 00:14:42 +0000
(
00:14
+0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 17 May 2004 00:14:42 +0000
(
00:14
+0000)
includes/Math.php
patch
|
blob
|
history
diff --git
a/includes/Math.php
b/includes/Math.php
index
cbe2cc0
..
5946061
100644
(file)
--- a/
includes/Math.php
+++ b/
includes/Math.php
@@
-189,7
+189,7
@@
class MathRenderer {
function _linkToMathImage() {
global $wgMathPath;
$url = htmlspecialchars( "$wgMathPath/{$this->hash}.png" );
- $alt =
htmlspecialchars( $this->tex
);
+ $alt =
trim(str_replace("\n", ' ', htmlspecialchars( $this->tex ))
);
return "<img class='tex' src=\"$url\" alt=\"$alt\" />";
}