HomePhorge

Added initial class for displaying invisible chars

Description

Added initial class for displaying invisible chars

Summary:
Fixes T11586. First pass at a class for displaying invisible characters. Still need to:

  • Write a couple unit tests
  • Add some styling to the .invisible-special spans
  • Actually start using the class when displaying form errors to users

Currently this makes the string "\nab\x00c\x01d\te\nf" look like:

{F1812711}

Test Plan:
Unit tests all pass and run in <1ms:

{F1812998}

Reviewers: epriestley, #blessed_reviewers, chad

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley, yelirekim

Maniphest Tasks: T11586

Differential Revision: https://secure.phabricator.com/D16541

Details

Provenance
Josh CoxAuthored on Sep 12 2016, 5:53 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPff64c4e02b20: Add a toggle, sticky pref, for Conpherence Widget Pane
Branches
Unknown
Tags
Unknown

Event Timeline