Skip to content

Commit 3a86442

Browse files
Update cshtml-razor.js
1 parent c2788f2 commit 3a86442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cshtml-razor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function hljsDefineCshtmlRazor(hljs) {
154154
end: "\\)",
155155
returnBegin: true,
156156
returnEnd: true,
157-
subLanguage: 'cs',
157+
subLanguage: ["cs"],
158158
contains: [
159159
{
160160
begin: "@\\(",
@@ -164,7 +164,7 @@ function hljsDefineCshtmlRazor(hljs) {
164164
begin: "\\(",
165165
end: "\\)",
166166
subLanguage: 'cs',
167-
contains: [hljs.QUOTE_STRING_MODE, 'self']
167+
contains: [hljs.QUOTE_STRING_MODE, 'self', razor_text_block]
168168
},
169169
razor_text_block,
170170
{

0 commit comments

Comments
 (0)