From 498979bd7dd9beeba0ced5b79e5d9315e39985fa Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Nov 2018 04:30:32 +0900 Subject: [PATCH] Update note-mixin.ts --- src/client/app/common/scripts/note-mixin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/app/common/scripts/note-mixin.ts b/src/client/app/common/scripts/note-mixin.ts index 205c6dc02..9e5fa0f5f 100644 --- a/src/client/app/common/scripts/note-mixin.ts +++ b/src/client/app/common/scripts/note-mixin.ts @@ -78,6 +78,7 @@ export default (opts: Opts = {}) => ({ urls(): string[] { if (this.appearNote.text) { const ast = parse(this.appearNote.text); + // TODO: 再帰的にURL要素がないか調べる return unique(ast .filter(t => ((t.name == 'url' || t.name == 'link') && t.props.url && !t.silent)) .map(t => t.props.url));