Skip to content

Commit

Permalink
Fix #93 - typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dangmai committed Nov 19, 2024
1 parent ef7b9dd commit 02fe6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ It accepts a callback function that takes in the default character escapes and t

```javascript
lescape("Hello World", {
preseveFormatting: true,
preserveFormatting: true,
escapeMapFn: function (defaultEscapes, formattingEscapes) {
formattingEscapes[" "] = "\\\\";
return Object.assign({}, defaultEscapes, formattingEscapes);
Expand Down

0 comments on commit 02fe6b7

Please sign in to comment.