"/(.) (\\?|:|!|\\302\\273)/i"=>"\\1 \\2",
# french spaces, Guillemet-right
"/(\\302\\253) /i"=>"\\1 ",
- "/<hr *>/i" => '<hr/>',
- "/<br *>/i" => '<br/>',
+ "/<hr *>/i" => '<hr />',
+ "/<br *>/i" => '<br />',
"/<center *>/i"=>'<div class="center">',
"/<\\/center *>/i" => '</div>',
# Clean up spare ampersands; note that we probably ought to be
$text = $this->removeHTMLtags( $text );
$text = $this->replaceVariables( $text, $args );
- $text = preg_replace( "/(^|\n)-----*/", "\\1<hr/>", $text );
+ $text = preg_replace( "/(^|\n)-----*/", "\\1<hr />", $text );
$text = $this->doHeadings( $text );
if($this->mOptions->getUseDynamicDates()) {
// paragraph
if ( '' == trim($t) ) {
if ( $paragraphStack ) {
- $output .= $paragraphStack.'<br/>';
+ $output .= $paragraphStack.'<br />';
$paragraphStack = false;
$this->mLastSection = 'p';
} else {
/*
$pairs = array(
"/<br.+(clear|break)=[\"']?(all|both)[\"']?\\/?>/i" => '<br style="clear:both;"/>',
- "/<br *?>/i" => "<br/>",
+ "/<br *?>/i" => "<br />",
);
$text = preg_replace(array_keys($pairs), array_values($pairs), $text);
*/
} else {
$note = wfMsg( "rcnote", $wgLang->formatNum( $limit ), $wgLang->formatNum( $days ) );
}
- $wgOut->addHTML( "\n<hr/>\n{$note}\n<br/>" );
+ $wgOut->addHTML( "\n<hr />\n{$note}\n<br />" );
$note = rcDayLimitLinks( $days, $limit, "Recentchanges", $hideparams, false, $minorLink, $botLink, $liuLink );
- $note .= "<br/>\n" . wfMsg( "rclistfrom",
+ $note .= "<br />\n" . wfMsg( "rclistfrom",
$sk->makeKnownLink( $wgLang->specialPage( "Recentchanges" ),
$wgLang->timeanddate( $now, true ), "{$hideparams}&from=$now" ) );
$sk = $wgUser->getSkin();
$isredir = " (" . wfMsg( "isredirect" ) . ")\n";
- $wgOut->addHTML("< ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."<br/>\n");
+ $wgOut->addHTML("< ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."<br />\n");
if ( 0 == $id ) {
$sql = "SELECT cur_id,cur_namespace,cur_title,cur_is_redirect FROM brokenlinks,cur WHERE bl_to='" .