diff --git a/src/assets/scripts/renderers/wx-renderer.js b/src/assets/scripts/renderers/wx-renderer.js
index 1e6d1e0..f6fe2fa 100644
--- a/src/assets/scripts/renderers/wx-renderer.js
+++ b/src/assets/scripts/renderers/wx-renderer.js
@@ -184,7 +184,7 @@ class WxRenderer {
return ``;
};
renderer.link = (href, title, text) => {
- if (href.indexOf("https://mp.weixin.qq.com") === 0) {
+ if (href.startsWith("https://mp.weixin.qq.com")) {
return `${text}`;
@@ -205,7 +205,6 @@ class WxRenderer {
`${header}${body}