aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_test.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-05 15:33:45 +0200
committerWilliam Hergès <william@herges.fr>2025-10-05 15:34:18 +0200
commitbce210d75a4552c5b144a5760ace4950c198f046 (patch)
tree9f5fa1633744805813c5acc8816172e4c03f0c8f /markdown/ast_test.go
parentfa5ac4040e8e2fc57bef5c598e1ceda4c2fc0a73 (diff)
feat(markdown): smarter lexer for external
Diffstat (limited to 'markdown/ast_test.go')
-rw-r--r--markdown/ast_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/ast_test.go b/markdown/ast_test.go
index 62a1d23..ff11b1e 100644
--- a/markdown/ast_test.go
+++ b/markdown/ast_test.go
@@ -41,7 +41,7 @@ var parsed = `
<ul><li>hehe</li></ul>
<figure>
<img alt="Ceci est ma pfp :3" src="https://cdn.anhgelus.world/pfp.jpg">
-<figcaption><a href="https://now.anhgelus.world/">Ma pfp</a> hehe :D Elle est <b>magnifique</b>, n&#39;est-ce pas ?</figcaption>
+<figcaption><a href="https://now.anhgelus.world/" target="_blank" rel="noreferer">Ma pfp</a> hehe :D Elle est <b>magnifique</b>, n&#39;est-ce pas ?</figcaption>
</figure>
`