Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Prevented backslash from getting stripped when it occurred within tex…

…t being output to a snippet
  • Loading branch information...
commit a35678497d3a23bbe3c651ae316b93bda09ed91d 1 parent 2c39d04
Ian Beck authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  ScriptLibraries/handy-lib.js
2  ScriptLibraries/handy-lib.js
... ... @@ -1,3 +1,3 @@
1 1 library.escSnippetChars = function(text) {
2   - return text.replace(/([${}`])/g, '\\$1');
  2 + return text.replace(/([${}`\\])/g, '\\$1');
3 3 };

0 comments on commit a356784

Please sign in to comment.
Something went wrong with that request. Please try again.