File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
"printableName" : " Cache Web Terminal" ,
6
6
"description" : " Web-based terminal emulator for Caché administering." ,
7
7
"author" : " ZitRo" ,
8
- "version" : " 4.3.0 " ,
8
+ "version" : " 4.3.1 " ,
9
9
"gaID" : " UA-83005064-2" ,
10
10
"releaseNumber" : 26 ,
11
11
"scripts" : {
Original file line number Diff line number Diff line change @@ -229,12 +229,12 @@ let esc = {
229
229
return ;
230
230
output . setGraphicProperty ( 9 , { class : cls } ) ;
231
231
} ,
232
- "\x1b!URL={[^\\x20]*} ({[^\\)]+})" : ( [ url , text ] ) => {
232
+ "\x1b!URL={[^\\x20]*} ({[^\\)]+})" : ( [ url = "" , text = "" ] ) => {
233
233
output . setGraphicProperty ( 9 , {
234
234
tag : "a" ,
235
235
attrs : {
236
236
href : url ,
237
- target : "_blank"
237
+ target : url . indexOf ( "javascript:" ) === 0 ? "" : "_blank"
238
238
}
239
239
} ) ;
240
240
output . immediatePlainPrint ( text ) ;
You can’t perform that action at this time.
0 commit comments