Bug #21656
JavaScript highlighting is incorrect
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/10/2019
Due date:
% Done:
0%
Estimated time:
Description
const lkup = new LOOKUP;
const result = await lkup.deviceByName("M:OUTTMP");
console.log(result);
In the snippet above const, new, await, and string should all be highlighted. Only the string and new are highlighted. It appears that Redmine has already fixed this in version 4 by using Rouge.
I tested this snippet on the Rouge site and it highlights correctly.
#19930 is related but in the context of bash.