From a99693b8f6a78a7d7bf761f306c22ba5d1968a89 Mon Sep 17 00:00:00 2001 From: Yuxin Wu Date: Wed, 18 May 2022 04:24:27 -0700 Subject: [PATCH] add comment --- lib/plugins/tag/post_link.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugins/tag/post_link.js b/lib/plugins/tag/post_link.js index 5b2f53d27c..ed03669bdf 100644 --- a/lib/plugins/tag/post_link.js +++ b/lib/plugins/tag/post_link.js @@ -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);