Skip to content

Commit

Permalink
Fix invalid closing link
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
obukhow committed Nov 1, 2021
1 parent 6be7bf0 commit 4c87afb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/getTryItNow.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ module.exports = function (value, options) {
const variablesQuery = variables ? `&variables=${encodeURIComponent(variables)}` : ""

var url = `${options.data.root.servers[0].url}?query=${encodeURIComponent(query)}${variablesQuery}`;
return new Handlebars.SafeString(`<a href="${url}" target="_blank">Try it now<a/>\n`);
}
return new Handlebars.SafeString(`<a href="${url}" target="_blank">Try it now</a>\n`);
}

0 comments on commit 4c87afb

Please sign in to comment.