Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php |
— | — | @@ -597,8 +597,10 @@ |
598 | 598 | global $wgParser, $wgTitle, $wgUser;
|
599 | 599 |
|
600 | 600 | $linkList = '';
|
601 | | - $links = explode( "\n", htmlspecialchars($text) );
|
602 | | - foreach( $links as $link ) {
|
| 601 | + $lines = explode( "\n", htmlspecialchars($text) );
|
| 602 | + foreach( $lines as $line ) {
|
| 603 | + $links = explode("\n",$line);
|
| 604 | + $link = $links[0];
|
603 | 605 | if( strpos($link,'.') )
|
604 | 606 | $linkList .= "<li><a href='$link'>$link</a></li>\n";
|
605 | 607 | }
|