-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When highlighting a query that either begins or ends with one or more words that are not highlighted, those words will be trimmed.
To Reproduce
- Run the following script:
const { highlight } = require('../index') console.log(highlight('SELECT id FROM users'))
- Notice that the output is
SELECT id FROM
Expected behavior
The output should be SELECT id FROM users
Node.js:
- Version: v12.16.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working