Homec4science

Added initial class for displaying invisible chars

Authored by Josh Cox <joshcox@uberatc.com> on Sep 12 2016, 14:53.

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

Committed
Josh Cox <joshcox@uberatc.com>Sep 13 2016, 03:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPHff64c4e02b20: Add a toggle, sticky pref, for Conpherence Widget Pane
Branches
Unknown
Tags
Unknown

Event Timeline

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