Skip to content

Commit

Permalink
summary.js: use double quotes in the a tag. (#2561)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and Trott committed Sep 12, 2019
1 parent 9e5e9d4 commit cdf1aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helpers/summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = (contents, locale, path) => {
.not((i, elem) => IGNORE_SELECTORS.some((selector) => $(elem).is(selector)))
.each((i, elem) => {
if (summary.length > SUMMARY_MAX_LENGTH) {
summary += `<p><a href='/${locale}/${path.replace(/\\/g, '/')}/'>Read more...</a></p>`
summary += `<p><a href="/${locale}/${path.replace(/\\/g, '/')}/">Read more...</a></p>`
return false
}

Expand Down

0 comments on commit cdf1aa7

Please sign in to comment.