From: Brion Vibber Date: Mon, 12 Jun 2006 06:04:51 +0000 (+0000) Subject: HTML normalization: use double-quotes on RFC and PMID quotes for consistency with... X-Git-Tag: 1.31.0-rc.0~56798 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=a5ac8a50c217d26f1dabffcc7cdb20c48392b3ff;p=lhc%2Fweb%2Fwiklou.git HTML normalization: use double-quotes on RFC and PMID quotes for consistency with upcoming normalizer's output --- diff --git a/includes/Parser.php b/includes/Parser.php index 60aaaedc8a..f7e5f50bd7 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3549,7 +3549,7 @@ class Parser $url = wfMsg( $urlmsg, $id); $sk =& $this->mOptions->getSkin(); $la = $sk->getExternalLinkAttributes( $url, $keyword.$id ); - $text .= "{$keyword}{$id}{$x}"; + $text .= "{$keyword}{$id}{$x}"; } /* Check if the next RFC keyword is preceed by [[ */ diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 17ed07ab03..2a06b53394 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -1944,7 +1944,7 @@ Magic links: RFC (bug 479) !! input RFC 822 !! result -

RFC 822 +

RFC 822

!! end @@ -1962,7 +1962,7 @@ Magic links: PMID incorrectly converts space to underscore !! input PMID 1234 !! result -

PMID 1234 +

PMID 1234

!! end @@ -2751,7 +2751,7 @@ BUG 1887: A RFC with a thumbnail !! input [[Image:foobar.jpg|thumb|This is RFC 12354]] !! result -
This is RFC 12354
Enlarge
This is RFC 12354
+
This is RFC 12354
Enlarge
This is RFC 12354
!! end