Page MenuHomePhabricator

Fix an issue with tail parsing in object embeds in remarkup
ClosedPublic

Authored by epriestley on Dec 2 2014, 1:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 1:17 PM
Unknown Object (File)
Thu, Dec 19, 12:01 PM
Unknown Object (File)
Thu, Dec 12, 8:17 PM
Unknown Object (File)
Fri, Dec 6, 3:12 AM
Unknown Object (File)
Thu, Dec 5, 6:48 PM
Unknown Object (File)
Wed, Nov 27, 11:29 AM
Unknown Object (File)
Oct 28 2024, 2:23 AM
Unknown Object (File)
Oct 16 2024, 11:54 PM
Subscribers

Details

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.

Screen_Shot_2014-12-01_at_5.53.30_PM.png (457×545 px, 27 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue with tail parsing in object embeds in remarkup.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, chad.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Dec 2 2014, 1:57 AM
This revision was automatically updated to reflect the committed changes.