Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
crookedneighbor committed May 20, 2019
1 parent eb22f84 commit e988fb8
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 1,215 deletions.
4 changes: 2 additions & 2 deletions dist/markdown-it-linkify-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function markdownitLinkifyImages (md, config) {
var imgClass = generateClass(config.imgClass)

if (token.attrIndex('title') !== -1) {
title = ' title="' + token.attrs[token.attrIndex('title')][1] + '"'
title = ' title="' + md.utils.escapeHtml(token.attrs[token.attrIndex('title')][1]) + '"'
}

return '' +
Expand All @@ -41,4 +41,4 @@ function generateClass (className) {
module.exports = markdownitLinkifyImages

},{}]},{},[1])(1)
});
});
2 changes: 1 addition & 1 deletion dist/markdown-it-linkify-images.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e988fb8

Please sign in to comment.