HomePhabricator

Add flat text assertions to Phabricator remarkup rules

Description

Add flat text assertions to Phabricator remarkup rules

Summary: Remarkup rules can not safely use arbitrary text in tag attributes,
because it may include tokens which are later replaced. Precedence rules
should prevent this in general. Use flat text assertions and adjust precedence
rules in cases where they may not prevent tokens from appearing in attributes.

Auditors: btrahan

Details

Auditors
btrahan
Group Auditors
Cowboy Commits
Provenance
epriestleyAuthored on
epriestleyPushed on Jul 1 2014, 6:05 PM
Parents
rPede6947dd1ef: Don't atomize closures
Branches
Unknown
Tags
Unknown

Event Timeline

where is assertFlatText defined?

PhutilRemarkupRule, in libphutil.