From 65a42ab8927ffc53f0188e16d33579f839b9815f Mon Sep 17 00:00:00 2001 From: Joey Cozza Date: Thu, 21 Jul 2016 00:09:55 -0600 Subject: [PATCH] doc: fix path markdown formatting Single quotes in two of the examples were throwing off the formatting of the path documentation on the Node.js website. This commit expands two contractions to remove the offending quotes. PR-URL: https://github.com/nodejs/node/pull/7817 Reviewed-By: Colin Ihrig Reviewed-By: Claudio Rodriguez Reviewed-By: James M Snell --- doc/api/path.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/path.md b/doc/api/path.md index fd07cd6802df9a..d977173596b8de 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -367,7 +367,7 @@ path.parse('/home/user/dir/file.txt') │ root │ │ name │ ext │ " / home/user/dir / file .txt " └──────┴──────────────┴──────┴─────┘ -(all spaces in the "" line should be ignored -- they're purely for formatting) +(all spaces in the "" line should be ignored -- they are purely for formatting) ``` On Windows: @@ -391,7 +391,7 @@ path.parse('C:\\path\\dir\\file.txt') │ root │ │ name │ ext │ " C:\ path\dir \ file .txt " └──────┴──────────────┴──────┴─────┘ -(all spaces in the "" line should be ignored -- they're purely for formatting) +(all spaces in the "" line should be ignored -- they are purely for formatting) ``` A [`TypeError`][] is thrown if `path` is not a string.