Skip to content

Instantly share code, notes, and snippets.

@Mottie
Last active June 21, 2019 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mottie/d40ab58bb68cbeb2c314237189051b77 to your computer and use it in GitHub Desktop.
Save Mottie/d40ab58bb68cbeb2c314237189051b77 to your computer and use it in GitHub Desktop.
// white space testing
// ok
// test 2
// test
function test( ) {
console.log('ok' ); // 123
}
/*
dds
*
*/
const whitespace = {
"%20" : "<span class='pl-space ghcw-whitespace'> </span>",
"%A0" : "<span class='pl-nbsp ghcw-whitespace'>&nbsp;</span>",
"%09" : "<span class='pl-tab ghcw-whitespace'>\x09</span>",
// non-matching key; applied manually
"CRLF" : "<span class='pl-crlf ghcw-whitespace'></span>\n"
};
@Mottie
Copy link
Author

Mottie commented Apr 28, 2019

Posting unicode emojis is no longer possible:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment