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: ->