Skip to content

Commit 7285bb4

Browse files
committed
docs(README): add formatting
1 parent 123e4ba commit 7285bb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ escape('/foo'); // => '~1foo'
200200
Unescape is performed by first transforming any
201201
occurrence of the sequence `'~1'` to `'/'`, and then transforming any
202202
occurrence of the sequence `'~0'` to `'~'`. By performing the
203-
substitutions in this order, an implementation avoids the error of
203+
substitutions in this order, this library avoids the error of
204204
turning `'~01'` first into `'~1'` and then into `'/'`, which would be
205-
incorrect (the string '~01' correctly becomes '~1' after transformation).
205+
incorrect (the string `'~01'` correctly becomes `'~1'` after transformation).
206206

207207
```js
208208
import { unescape } from '@swaggerexpert/json-pointer';

0 commit comments

Comments
 (0)