Skip to content

Commit c5c953a

Browse files
javier-godoypaodb
authored andcommitted
chore: avoid special sequence that breaks license plugin
1 parent 7606928 commit c5c953a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/META-INF/resources/frontend/code-viewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ pre[class*="language-"] {
250250
let end = text.indexOf('*/');
251251
if (end<0) break;
252252

253-
let pos = text.indexOf('#%L');
253+
let pos = text.indexOf('#'+'%L');
254254
if (pos<0 || end<pos) break;
255255

256256
let license = text.substring(pos+3,end).split('%%');

0 commit comments

Comments
 (0)