Page MenuHomePhorge

D25259.1742997835.diff
No OneTemporary

D25259.1742997835.diff

diff --git a/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php b/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php
--- a/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php
+++ b/src/infrastructure/markup/blockrule/PhutilRemarkupTableBlockRule.php
@@ -114,7 +114,8 @@
if ($cell->isContentNode()) {
$content = $node->getContent();
- if (!strlen(trim($content))) {
+ if (!phutil_nonempty_string($content) ||
+ (!phutil_nonempty_string(trim($content)))) {
continue;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 14:03 (5 d, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147184
Default Alt Text
D25259.1742997835.diff (600 B)

Event Timeline