From 25dd9d59851aa2a12ed0e8b8ba26fd292ec51864 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 25 Jul 2019 16:27:00 -0700 Subject: [PATCH] Take Coffeescript stuff out of this template. #829 --- src/main/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 7cdb7129e4..93ded5a02a 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -556,7 +556,7 @@ Main = addDetails data.error.stack.replace(data.error.toString(), '').trim() if data.error.stack addDetails '\n`' + data.html + '`' if data.html details = details.replace /file:\/{3}.+\//g, '' # Remove local file paths - url = "<%= meta.newIssue.replace('%title', '#{encodeURIComponent title}').replace('%details', '#{encodeURIComponent details}') %>" + url = '<%= meta.newIssue %>'.replace('%title', encodeURIComponent title).replace('%details', encodeURIComponent details) <%= html(' [report]') %> isThisPageLegit: ->