(bug 27046) Do not strip newlines following C++-style // comments. Prior to this...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 31 Jan 2011 12:48:08 +0000 (12:48 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 31 Jan 2011 12:48:08 +0000 (12:48 +0000)
commit3d6c28a9db409bd0c1aea4b30fb2af35f955a145
treee40b05c236d54b259b6bd9c40f98673368dcc3ab
parent47b728b45b9f8a980f7cb8ca28f6317476756f75
(bug 27046) Do not strip newlines following C++-style // comments. Prior to this commit, such newlines were always stripped, causing invalid JS output in certain cases. They are now always preserved, even if they would normally qualifiy for vertical whitespace stripping/collapsing when wgResourceLoaderMinifyJSVerticalSpace is enabled.
includes/libs/JavaScriptDistiller.php