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)
Sat, Mar 30, 8:23 AM
Unknown Object (File)
Fri, Mar 29, 7:33 AM
Unknown Object (File)
Mar 10 2024, 9:18 AM
Unknown Object (File)
Mar 5 2024, 2:36 AM
Unknown Object (File)
Jan 18 2024, 5:52 AM
Unknown Object (File)
Dec 21 2023, 11:21 PM
Unknown Object (File)
Dec 16 2023, 12:06 PM
Unknown Object (File)
Dec 14 2023, 1:46 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.