summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-19 05:15:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-19 05:15:50 +0900
commit000d9cc1cef1d4041c1c315c3b918635714f912a (patch)
treecc0637f64eaac36a9b345affcf3b7848656e7140
parentUpdate version (diff)
downloadmisskey-000d9cc1cef1d4041c1c315c3b918635714f912a.tar.gz
misskey-000d9cc1cef1d4041c1c315c3b918635714f912a.tar.bz2
misskey-000d9cc1cef1d4041c1c315c3b918635714f912a.zip
Fix bug
-rw-r--r--src/mfm/html-to-mfm.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mfm/html-to-mfm.ts b/src/mfm/html-to-mfm.ts
index 084578fc18..daa228ec51 100644
--- a/src/mfm/html-to-mfm.ts
+++ b/src/mfm/html-to-mfm.ts
@@ -49,9 +49,6 @@ export default function(html: string): string {
text += txt;
break;
}
- // メンション以外
- } else {
- text += `[${txt}](${node.attrs.find((x: any) => x.name == 'href').value})`;
}
if (node.childNodes) {