We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75924ca commit 9effcbcCopy full SHA for 9effcbc
2 files changed
package.json
@@ -5,7 +5,7 @@
5
"printableName": "Cache Web Terminal",
6
"description": "Web-based terminal emulator for Caché administering.",
7
"author": "ZitRo",
8
- "version": "4.3.0",
+ "version": "4.3.1",
9
"gaID": "UA-83005064-2",
10
"releaseNumber": 26,
11
"scripts": {
src/client/js/output/esc.js
@@ -229,12 +229,12 @@ let esc = {
229
return;
230
output.setGraphicProperty(9, { class: cls });
231
},
232
- "\x1b!URL={[^\\x20]*} ({[^\\)]+})": ([url, text]) => {
+ "\x1b!URL={[^\\x20]*} ({[^\\)]+})": ([url = "", text = ""]) => {
233
output.setGraphicProperty(9, {
234
tag: "a",
235
attrs: {
236
href: url,
237
- target: "_blank"
+ target: url.indexOf("javascript:") === 0 ? "" : "_blank"
238
}
239
});
240
output.immediatePlainPrint(text);
0 commit comments