1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-04 19:08:27 +01:00
phorge-phorge/src/applications/files/markup
epriestley 631c36aee3 Don't consider file references inside quoted text blocks to grant "attachment intent"
Summary:
Ref T13682. This is a marginal case, but if you quote someone else's text and it has a file reference embedded in it, that isn't good enough to generate "attachment intent".

Since you need both a reference and an explicit attachment, this should never actually affect any user-visible behavior today, but makes the ruleset more thorough.

Test Plan: Dragged and dropped a file, referencing it in either a quoted or unquoted block. Saw it attach only for a quoted block.

Maniphest Tasks: T13682

Differential Revision: https://secure.phabricator.com/D21833
2022-05-23 14:08:15 -07:00
..
PhabricatorEmbedFileRemarkupRule.php Don't consider file references inside quoted text blocks to grant "attachment intent" 2022-05-23 14:08:15 -07:00
PhabricatorImageRemarkupRule.php Replace all "setQueryParam()" calls with "remove/replaceQueryParam()" 2019-02-14 11:56:39 -08:00