We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d469442 + a6b46a3 commit 25e09dfCopy full SHA for 25e09df
lib/plugins/search.js
@@ -87,6 +87,8 @@ function search (keywords) {
87
var postTitle = post.title && post.title.trim();
88
var postContent = post.body && post.body.trim();
89
var postUrl = post.slug || '';
90
+
91
+ postContent = postContent.replace(/!\[.*\]\((.+)\)/g,'');
92
93
if (postTitle && postContent) {
94
keywords.forEach(function (keyword, i) {
0 commit comments