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
Fri, Oct 25, 1:01 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6711284
Default Alt Text
D15006.diff (1 KB)

Event Timeline