From: Michael Wallner Date: Tue, 5 Nov 2013 13:12:59 +0000 (+0100) Subject: flush X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8298a90533668b631470e3833d1c5ef48d1b9c3e;p=mdref%2Fmdref flush --- diff --git a/index.js b/index.js index 45b5bb8..a6c3934 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,7 @@ function type(s, nn) { return ""; } } - if (-1 !== (j = s.indexOf("\\"))) { + if (-1 !== (j = s.indexOf("\\")) && s.substr(j+1,1) !== "n") { return ""; }