Physikerwelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/186632
Change subject: Add links in a span and not in a div ...................................................................... Add links in a span and not in a div otherwise every formula is printed to a new line Change-Id: Ib6879285371450841f6b8faf36add80f447eb6bf --- M MathSearch.hooks.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch refs/changes/32/186632/1 diff --git a/MathSearch.hooks.php b/MathSearch.hooks.php index fb80e08..b8ed69d 100644 --- a/MathSearch.hooks.php +++ b/MathSearch.hooks.php @@ -182,7 +182,7 @@ static function addLinkToFormulaInfoPage( MathRenderer $Renderer, &$Result = null, $pid = 0, $eid = 0 ) { self::setMathId( $eid , $Renderer ); $url = SpecialPage::getTitleFor( 'FormulaInfo' )->getLocalUrl( array( 'pid' => $pid, 'eid' => $eid ) ); - $Result = "<div><a href=\"$url\" id=\"$eid\" style=\"color:inherit;\">$Result</a></div>"; + $Result = "<span><a href=\"$url\" id=\"$eid\" style=\"color:inherit;\">$Result</a></span>"; return true; } -- To view, visit https://gerrit.wikimedia.org/r/186632 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib6879285371450841f6b8faf36add80f447eb6bf Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MathSearch Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits