Page MenuHomePhabricator

Preprocessor.diff

Authored By
bzimport
Nov 21 2014, 10:24 PM
Size
979 B
Referenced Files
None
Subscribers
None

Preprocessor.diff

Index: includes/parser/Preprocessor_Hash.php
===================================================================
--- includes/parser/Preprocessor_Hash.php (revision 44770)
+++ includes/parser/Preprocessor_Hash.php (working copy)
@@ -429,7 +429,7 @@
'open' => $curChar,
'close' => $rule['end'],
'count' => $count,
- 'lineStart' => ($i > 0 && $text[$i-1] == "\n"),
+ 'lineStart' => ($i == 0 || $text[$i-1] == "\n"),
);
$stack->push( $piece );
Index: includes/parser/Preprocessor_DOM.php
===================================================================
--- includes/parser/Preprocessor_DOM.php (revision 44770)
+++ includes/parser/Preprocessor_DOM.php (working copy)
@@ -435,7 +435,7 @@
'open' => $curChar,
'close' => $rule['end'],
'count' => $count,
- 'lineStart' => ($i > 0 && $text[$i-1] == "\n"),
+ 'lineStart' => ($i == 0 || $text[$i-1] == "\n"),
);
$stack->push( $piece );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4828
Default Alt Text
Preprocessor.diff (979 B)

Event Timeline