File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Core Grammars:
23
23
- fix(sql) - Fixed sql primary key and foreign key spacing issue [ Dxuian]
24
24
- fix(cpp) added flat_set and flat_map as a part of cpp 23 version [ Lavan]
25
25
- fix(yaml) - Fixed special chars in yaml [ Dxuian]
26
+ - fix(basic) - Fixed closing quotation marks not required for a PRINT statement [ Somya]
26
27
27
28
New Grammars:
28
29
@@ -56,6 +57,7 @@ CONTRIBUTORS
56
57
[ Osmocom ] : https://github.com/osmocom
57
58
[ Álvaro Mondéjar ] : https://github.com/mondeja
58
59
[ Lavan ] : https://github.com/jvlavan
60
+ [ Somya ] : https://github.com/somya-05
59
61
60
62
61
63
## Version 11.10.0
Original file line number Diff line number Diff line change @@ -198,7 +198,13 @@ export default function(hljs) {
198
198
keyword : KEYWORDS
199
199
} ,
200
200
contains : [
201
- hljs . QUOTE_STRING_MODE ,
201
+ {
202
+ // Match strings that start with " and end with " or a line break
203
+ scope : 'string' ,
204
+ begin : / " / ,
205
+ end : / " | $ / ,
206
+ contains : [ hljs . BACKSLASH_ESCAPE ]
207
+ } ,
202
208
hljs . COMMENT ( 'REM' , '$' , { relevance : 10 } ) ,
203
209
hljs . COMMENT ( '\'' , '$' , { relevance : 0 } ) ,
204
210
{
You can’t perform that action at this time.
0 commit comments