1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/infrastructure/markup/rule
epriestley a8be733e5f Fix an issue with tail parsing in object embeds in remarkup
Summary:
Fixes T6619. In `{Xnnn key=value, key=value}` we did not require a separator between the object and the key-value part. This could lead to `{rX11aaa}` being parsed as `{rX11 aaa}`, i.e. a reference to `rX11` with parameter `aaa` set.

Instead, require a space or comma before we'll parse key-value parts of embedded objects.

Test Plan:
Added and executed unit tests.

{F242002}

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6619

Differential Revision: https://secure.phabricator.com/D10915
2014-12-01 18:48:20 -08:00
..
PhabricatorNavigationRemarkupRule.php Process Remarkup in text and HTML email bodies appropriately 2014-11-17 18:27:21 -08:00
PhabricatorObjectRemarkupRule.php Fix an issue with tail parsing in object embeds in remarkup 2014-12-01 18:48:20 -08:00
PhabricatorRemarkupCustomBlockRule.php Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
PhabricatorRemarkupCustomInlineRule.php Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
PhabricatorYoutubeRemarkupRule.php Process Remarkup in text and HTML email bodies appropriately 2014-11-17 18:27:21 -08:00