Steps to reproduce:
- Phorge at 1b5d2f83c3aa03dada5cbed4a18d341733348425, PHP 8.3.9 (but irrelevant).
- Go to http://phorge.localhost/macro/edit/
- Enter progress in the Name field, upload some image, then click Create New Macro
- Define a custom status called "progress" in http://phorge.localhost/config/edit/maniphest.statuses/ and place it after (!) the default "resolved" status, for example
"progress": { "claim": false, "closed": false, "name": "In Progress", "name.action": "Started", "name.full": "Open, In Progress", "transaction.icon": "fa-step-forward", "transaction.color": "green" },
- Go to the !status section on http://phorge.localhost/applications/mailcommands/PhabricatorManiphestApplication/task/
Expected outcome:
Table shows "progress" under "Keywords".
Actual outcome:
Macro image is displayed under "Keywords":
This seems to be feature fallout as macros get embedded without any further markup, and this table cell has a single word which is also the name of a macro.
Code in https://we.phorge.it/source/phorge/browse/master/src/applications/maniphest/command/ManiphestStatusEmailCommand.php$23-44 is not to blame but rather https://we.phorge.it/source/phorge/browse/master/src/applications/macro/markup/PhabricatorImageMacroRemarkupRule.php
I am mumbling words not to share.