Highlight.js: (javascript) 'get' in identifier highlighted as keyword

Created on 9 May 2020  路  1Comment  路  Source: highlightjs/highlight.js

Describe the issue
get in a identifier like getData() is incorrectly identified as keyword in 10.0.2, which also seems to causes incorrect highlighting on following lines.

Example: https://jsfiddle.net/silverwind/afm4Lzyg/

bug help welcome language

Most helpful comment

Resolved with https://github.com/highlightjs/highlight.js/commit/ba2e65e43f047bd14becc12735d9acbab7c63d4e

Will be in 10.1 or you can build from master.

>All comments

Resolved with https://github.com/highlightjs/highlight.js/commit/ba2e65e43f047bd14becc12735d9acbab7c63d4e

Will be in 10.1 or you can build from master.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alainbryden picture alainbryden  路  4Comments

Martii picture Martii  路  7Comments

gka picture gka  路  7Comments

sumanstats picture sumanstats  路  5Comments

ghost picture ghost  路  3Comments