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)
Wed, Apr 17, 2:42 PM
Unknown Object (File)
Fri, Apr 12, 9:40 AM
Unknown Object (File)
Thu, Apr 11, 8:13 AM
Unknown Object (File)
Mar 24 2024, 1:08 AM
Unknown Object (File)
Mar 23 2024, 11:50 AM
Unknown Object (File)
Mar 21 2024, 6:01 AM
Unknown Object (File)
Mar 19 2024, 9:08 PM
Unknown Object (File)
Feb 14 2024, 9:42 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.