cookie
[mdref/mdref] / index.js
index 45b5bb87f507905a029b95416381fcac4bc3f1fd..a6c39342de32691896e6890b274c8735219e57b9 100644 (file)
--- a/index.js
+++ b/index.js
@@ -86,7 +86,7 @@ function type(s, nn) {
                        return "<a href=\"/" + s.replace(/::|\\/g, "/") + "\">";
                }
        }
-       if (-1 !== (j = s.indexOf("\\"))) {
+       if (-1 !== (j = s.indexOf("\\")) && s.substr(j+1,1) !== "n") {
                return "<a href=\"/" + s.replace(/\\/g, "/").replace(/::|$/, "#") + "\">";
        }