mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 09:58:24 +01:00
Fix incorrect context extraction for relative Phriction links on Phriction pages
Summary: Ref T13077. This content extraction rule wasn't right and caused rendering on Phriction pages to extract context improperly. Test Plan: Viewed pages in Phriction with relative links to other documents. Maniphest Tasks: T13077 Differential Revision: https://secure.phabricator.com/D19114
This commit is contained in:
parent
db3ef4021a
commit
66a7ca49b2
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ final class PhrictionRemarkupRule extends PhutilRemarkupRule {
|
|||
}
|
||||
|
||||
if ($context instanceof PhrictionDocument) {
|
||||
return $context->getSlug();
|
||||
return $context->getContent()->getSlug();
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue