Project

General

Profile

Bug #21656

JavaScript highlighting is incorrect

Added by Beau Harrison 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/10/2019
Due date:
% Done:

0%

Estimated time:
Duration:

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.



Also available in: Atom PDF