Home GnuPG

Added initial class for displaying invisible chars
2588b4fac0c1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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 Cox <joshcox@uberatc.com>Authored on Sep 12 2016, 2:53 PM
Parents
rPHABff64c4e02b20: Add a toggle, sticky pref, for Conpherence Widget Pane
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cox <joshcox@uberatc.com> committed rPHAB2588b4fac0c1: Added initial class for displaying invisible chars (authored by Josh Cox <joshcox@uberatc.com>).Sep 13 2016, 3:57 AM