diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/feed.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/feed.js b/scripts/feed.js index 467ac97..7c394bd 100644 --- a/scripts/feed.js +++ b/scripts/feed.js @@ -34,7 +34,7 @@ hexo.extend.generator.register("feed", (locals) => {      locals.posts.sort('date', -1).each(function (post) {          if (!post.podcast) return;          let description = post.content.replace(/onclick=".*?"/gi, '') -            .replace(/class=".*?"/gi, '').replace(/href=#".*?"/gi, '') +            .replace(/class=".*?"/gi, '').replace(/href="#.*?"/gi, '')              .replace(/id=".*?"/gi, '').replace(/rel=".*?"/gi, '')              .replace(/title=".*?"/gi, '').replace(/\n/g, "")              .replace(/\s+/g, ' ').trim(); | 
