Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15399901
D20965.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20965.diff
View Options
diff --git a/src/infrastructure/markup/PhabricatorMarkupEngine.php b/src/infrastructure/markup/PhabricatorMarkupEngine.php
--- a/src/infrastructure/markup/PhabricatorMarkupEngine.php
+++ b/src/infrastructure/markup/PhabricatorMarkupEngine.php
@@ -42,7 +42,7 @@
private $objects = array();
private $viewer;
private $contextObject;
- private $version = 19;
+ private $version = 20;
private $engineCaches = array();
private $auxiliaryConfig = array();
diff --git a/src/infrastructure/markup/blockrule/PhutilRemarkupQuotedBlockRule.php b/src/infrastructure/markup/blockrule/PhutilRemarkupQuotedBlockRule.php
--- a/src/infrastructure/markup/blockrule/PhutilRemarkupQuotedBlockRule.php
+++ b/src/infrastructure/markup/blockrule/PhutilRemarkupQuotedBlockRule.php
@@ -66,6 +66,8 @@
foreach ($text as $key => $line) {
if (!strlen(trim($line))) {
unset($text[$key]);
+ } else {
+ break;
}
}
diff --git a/src/infrastructure/markup/remarkup/__tests__/remarkup/quoted-paragraphs.txt b/src/infrastructure/markup/remarkup/__tests__/remarkup/quoted-paragraphs.txt
new file mode 100644
--- /dev/null
+++ b/src/infrastructure/markup/remarkup/__tests__/remarkup/quoted-paragraphs.txt
@@ -0,0 +1,11 @@
+> x
+>
+> y
+~~~~~~~~~~
+<blockquote><p>x</p>
+
+<p>y</p></blockquote>
+~~~~~~~~~~
+> x
+>
+> y
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 18, 8:22 AM (4 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7577556
Default Alt Text
D20965.diff (1 KB)
Attached To
Mode
D20965: Fix an issue where intracontent empty lines were incorrectly trimmed in quoted blocks
Attached
Detach File
Event Timeline
Log In to Comment