https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114314
Revision: 114314
Author: awjrichards
Date: 2012-03-20 21:40:50 +0000 (Tue, 20 Mar 2012)
Log Message:
-----------
MFT r114313
Modified Paths:
--------------
branches/wmf/1.19wmf1/extensions/MobileFrontend/api/ApiQueryExtracts.php
Property Changed:
----------------
branches/wmf/1.19wmf1/extensions/MobileFrontend/
Property changes on: branches/wmf/1.19wmf1/extensions/MobileFrontend
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/extensions/MobileFrontend:99727
+ /trunk/extensions/MobileFrontend:99727,114313
Modified:
branches/wmf/1.19wmf1/extensions/MobileFrontend/api/ApiQueryExtracts.php
===================================================================
--- branches/wmf/1.19wmf1/extensions/MobileFrontend/api/ApiQueryExtracts.php
2012-03-20 21:37:52 UTC (rev 114313)
+++ branches/wmf/1.19wmf1/extensions/MobileFrontend/api/ApiQueryExtracts.php
2012-03-20 21:40:50 UTC (rev 114314)
@@ -424,7 +424,7 @@
public function onHtmlReady( $html ) {
if ( $this->plainText ) {
$html = preg_replace( '/\s*(<h([1-6])\b)/i',
- ApiQueryExtracts::SECTION_MARKER_START . '$2' .
ApiQueryExtracts::SECTION_MARKER_END . '$1' ,
+ "\n\n" . ApiQueryExtracts::SECTION_MARKER_START
. '$2' . ApiQueryExtracts::SECTION_MARKER_END . '$1' ,
$html
);
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs