We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1031706 commit 8d62dbbCopy full SHA for 8d62dbb
main.go
@@ -478,8 +478,8 @@ const homeTemplateHtml = `<!DOCTYPE html>
478
$('#export').click(function() {
479
var link = document.createElement('a');
480
link.setAttribute('download', 'agent-log.txt');
481
- var text = log.innerHTML.replace(/<br>/g, '\n');
482
- text = text.replace(/<b>|<\/b>/g, '');
+ var text = log.innerHTML.replace(/<br>/g, '\n');
+ text = text.replace(/<b>|<\/b>/g, '');
483
link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
484
link.click();
485
});
0 commit comments