Skip to content

Commit

Permalink
Fix invalid closing link (#47)
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
obukhow authored Jan 18, 2022
1 parent a5c7f4d commit 2ff9465
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 2ff9465

Please sign in to comment.