- commit
- 97c42d5
- parent
- 58f99f3
- author
- Eric Bower
- date
- 2022-11-01 18:28:55 +0000 UTC
fix: check if there is a href prop on the obj
1 files changed,
+1,
-0
+1,
-0
1@@ -57,6 +57,7 @@ async function processMarkdown(text: string) {
2 // first token is always a link
3 const token = tt.tokens[0];
4 if (!token) return;
5+ if (!token.href) return;
6
7 link = token.href;
8 // skip non-github links