Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ppwwyyxx committed May 18, 2022
1 parent bc06aa2 commit a99693b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugins/tag/post_link.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = ctx => {
if (!post) return error;

let title = args.length ? args.join(' ') : post.title;
// Let attribute be the true post title so it appears in tooltip.
const attrTitle = escapeHTML(post.title);
if (escape === 'true') title = escapeHTML(title);

Expand Down

0 comments on commit a99693b

Please # to comment.