diff --git a/src/applications/phriction/markup/PhrictionRemarkupRule.php b/src/applications/phriction/markup/PhrictionRemarkupRule.php
--- a/src/applications/phriction/markup/PhrictionRemarkupRule.php
+++ b/src/applications/phriction/markup/PhrictionRemarkupRule.php
@@ -191,7 +191,7 @@
// If the name is something meaningful to humans, we'll render this
// in text as: "Title" . Otherwise, we'll just render: .
- $is_interesting_name = (bool)strlen($name);
+ $is_interesting_name = phutil_nonempty_string($name);
$target = idx($document_map, $key, null);