Page MenuHomePhabricator

bug35315.patch

Authored By
bzimport
Nov 22 2014, 12:14 AM
Size
437 B
Referenced Files
None
Subscribers
None

bug35315.patch

Index: CharInsert.php
===================================================================
--- CharInsert.php (revision 114124)
+++ CharInsert.php (working copy)
@@ -49,7 +49,8 @@
return true;
}
-function charInsert( $data ) {
+function charInsert( $data, $params, $parser ) {
+ $data = $parser->mStripState->unstripBoth( $data );
return implode( "<br />\n",
array_map( 'charInsertLine',
explode( "\n", trim( $data ) ) ) );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8515
Default Alt Text
bug35315.patch (437 B)

Event Timeline