Page MenuHomePhabricator

D15006.diff
No OneTemporary

D15006.diff

diff --git a/src/applications/project/remarkup/ProjectRemarkupRule.php b/src/applications/project/remarkup/ProjectRemarkupRule.php
--- a/src/applications/project/remarkup/ProjectRemarkupRule.php
+++ b/src/applications/project/remarkup/ProjectRemarkupRule.php
@@ -32,7 +32,7 @@
// controlling and these names should parse correctly.
// These characters may never appear anywhere in a hashtag.
- $never = '\s?!,:;{}#\\(\\)"\'';
+ $never = '\s?!,:;{}#\\(\\)"\'\\*/~';
// These characters may not appear at the edge of the string.
$never_edge = '.';
diff --git a/src/applications/project/remarkup/__tests__/ProjectRemarkupRuleTestCase.php b/src/applications/project/remarkup/__tests__/ProjectRemarkupRuleTestCase.php
--- a/src/applications/project/remarkup/__tests__/ProjectRemarkupRuleTestCase.php
+++ b/src/applications/project/remarkup/__tests__/ProjectRemarkupRuleTestCase.php
@@ -125,6 +125,16 @@
),
),
+ '**#orbital**' => array(
+ 'embed' => array(),
+ 'ref' => array(
+ array(
+ 'offset' => 3,
+ 'id' => 'orbital',
+ ),
+ ),
+ ),
+
);
foreach ($cases as $input => $expect) {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 3:57 PM (1 w, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6711284
Default Alt Text
D15006.diff (1 KB)

Event Timeline