1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00
phorge-phorge/src/infrastructure/markup
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
..
interpreter Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
rule Fix an issue with tail parsing in object embeds in remarkup 2014-12-01 18:48:20 -08:00
PhabricatorMarkupEngine.php Add a remarkup element for a navigation sequence 2014-08-26 12:14:28 -07:00
PhabricatorMarkupInterface.php Remove @group annotations 2014-07-10 08:12:48 +10:00
PhabricatorMarkupOneOff.php Make sure READMEs can hit the markup cache in Diffusion 2014-05-12 11:47:31 -07:00
PhabricatorMarkupPreviewController.php Add a "document" style to PHUIRemarkupPreviewPanel and use it in Legalpad and Phriction 2013-08-05 10:47:26 -07:00
PhabricatorSyntaxHighlighter.php Remove @group annotations 2014-07-10 08:12:48 +10:00