Commit 2f0b57ba authored by nanahira's avatar nanahira

update a element

parent 43b49dcd
This diff is collapsed.
......@@ -45,7 +45,7 @@
"testEnvironment": "node"
},
"peerDependencies": {
"koishi": "^4.11.1",
"koishi": "^4.11.6",
"koishi-plugin-cache-aragami": "^2.5.0"
},
"devDependencies": {
......@@ -75,7 +75,7 @@
"fast-xml-parser": "^4.0.6",
"file-type": "^16.5.3",
"form-data": "^4.0.0",
"koishi-thirdeye": "^11.1.21",
"koishi-thirdeye": "^11.1.24",
"raw-body": "^2.5.1"
},
"koishi": {
......
......@@ -271,8 +271,7 @@ export class WeComMessenger extends Messenger<WeComBot> {
this.text('\n');
break;
case 'a':
await this.render(children);
if (attrs.href) this.text(` (${attrs.href}) `);
this.text(element.toString());
break;
case 'at':
if (attrs.id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment