Skip to content

Commit 63d5a1b

Browse files
committed
Merge branch 'master' of github.com:scriptcoded/sql-highlight
2 parents 4a8ec6c + 04b5bf9 commit 63d5a1b

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
@@ -41,7 +41,7 @@ const highlighter = new Highlight({
4141
html: true
4242
})
4343

44-
document.body.innerHTML += highlighter.highlight("SELECT `id`, `username` FROM `users` WHERE `email` = '[email protected]'"))
44+
document.body.innerHTML += highlighter.highlight("SELECT `id`, `username` FROM `users` WHERE `email` = '[email protected]'")
4545
```
4646

4747
**Output:**
@@ -63,7 +63,7 @@ Options may be passed to the constructor while instantiating the `Highlighter` c
6363

6464
| Option | Value | Default | Description |
6565
| --- | --- | --- | --- |
66-
| html | `boolean` | `true` | Set to true to render HTML instead of Unicode.
66+
| html | `boolean` | `false` | Set to true to render HTML instead of Unicode.
6767
| classPrefix | `string` | `'sql-hl-'` | Prefix to prepend to classes for HTML span-tags. Is appended with entity name.
6868
| colors | `Object` | _See below_* | What color codes to use for Unicode rendering.
6969

0 commit comments

Comments
 (0)