« get me outta code hell

test: linkThing: specifically test tag stripping - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/tap-snapshots
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-19 10:43:27 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-19 10:43:27 -0300
commitfcb00a7afd8c70586d645a7072fc84fa5de074b3 (patch)
tree93837f7d56f3c1132584bf62093f43af599771f4 /tap-snapshots
parent72c29f7dfee2bdd7ded4113f0bbccc74d9ea60f9 (diff)
test: linkThing: specifically test tag stripping
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test/snapshot/linkThing.js.test.cjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshot/linkThing.js.test.cjs b/tap-snapshots/test/snapshot/linkThing.js.test.cjs
index 2e52d0a2..1a98cfdd 100644
--- a/tap-snapshots/test/snapshot/linkThing.js.test.cjs
+++ b/tap-snapshots/test/snapshot/linkThing.js.test.cjs
@@ -15,6 +15,10 @@ exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > color 1`] = `
 <a href="track/showtime-piano-refrain/" style="--primary-color: #aaccff; --dim-color: #828282">Showtime (Piano Refrain)</a>
 `
 
+exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > nested links in content stripped 1`] = `
+<a href="foo/"><b>Oooo! Very spooky.</b></a>
+`
+
 exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > preferShortName 1`] = `
 <a href="tag/five-oceanfalls/">Five</a>
 `