Page MenuHomePhabricator

Allow a wider range of characters in macro names, including emoji
ClosedPublic

Authored by epriestley on Feb 9 2018, 10:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 11:36 PM
Unknown Object (File)
Fri, Nov 22, 7:05 PM
Unknown Object (File)
Tue, Nov 19, 12:41 AM
Unknown Object (File)
Fri, Nov 15, 12:46 PM
Unknown Object (File)
Wed, Nov 13, 6:21 AM
Unknown Object (File)
Mon, Nov 11, 12:51 AM
Unknown Object (File)
Sat, Nov 9, 2:59 PM
Unknown Object (File)
Wed, Nov 6, 7:00 PM
Subscribers
None

Details

Summary

Fixes T6121. See PHI357.

  • Allow emoji and other unicode (like Chinese characters) as long as you have at least three of them.
  • Disallow macros with only latin symbols. These were previously allowed.
Test Plan

Created a macro for "🐶🐶🐶", then used it in a comment.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 9 2018, 10:34 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.