Commit 2f0b57ba authored by nanahira's avatar nanahira

update a element

parent 43b49dcd
This diff is collapsed.
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
"testEnvironment": "node" "testEnvironment": "node"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.11.1", "koishi": "^4.11.6",
"koishi-plugin-cache-aragami": "^2.5.0" "koishi-plugin-cache-aragami": "^2.5.0"
}, },
"devDependencies": { "devDependencies": {
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
"fast-xml-parser": "^4.0.6", "fast-xml-parser": "^4.0.6",
"file-type": "^16.5.3", "file-type": "^16.5.3",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"koishi-thirdeye": "^11.1.21", "koishi-thirdeye": "^11.1.24",
"raw-body": "^2.5.1" "raw-body": "^2.5.1"
}, },
"koishi": { "koishi": {
......
...@@ -271,8 +271,7 @@ export class WeComMessenger extends Messenger<WeComBot> { ...@@ -271,8 +271,7 @@ export class WeComMessenger extends Messenger<WeComBot> {
this.text('\n'); this.text('\n');
break; break;
case 'a': case 'a':
await this.render(children); this.text(element.toString());
if (attrs.href) this.text(` (${attrs.href}) `);
break; break;
case 'at': case 'at':
if (attrs.id) { 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