Skip to content

Commit fa16d08

Browse files
committed
move field codes to string capture group
1 parent 32dd096 commit fa16d08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/languages/freedesktop.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function(hljs) {
1616
className: 'string',
1717
begin: /"/,
1818
end: /"/,
19-
contains: [ hljs.BACKSLASH_ESCAPE ],
19+
contains: [ hljs.BACKSLASH_ESCAPE, FIELD_CODES ],
2020
relevance: 0
2121
};
2222

@@ -52,7 +52,6 @@ export default function(hljs) {
5252
end: /$/,
5353
excludeBegin: true,
5454
contains: [
55-
FIELD_CODES,
5655
STRING,
5756
{
5857
className: 'literal',

0 commit comments

Comments
 (0)