diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-20 22:06:17 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-20 22:07:50 -0300 |
commit | 93fd751aeb3a9c0b60889db0073e7907c87f90fe (patch) | |
tree | dbf9efedc019a0ce27d37eb40e92922efee2e3f7 /tap-snapshots/test | |
parent | 040e0d3a1d3890f7c45e2839ca949d353a160efc (diff) |
content: linkTemplate: strip <a> tags from content
Diffstat (limited to 'tap-snapshots/test')
-rw-r--r-- | tap-snapshots/test/snapshot/linkTemplate.js.test.cjs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs index e9d22ba5..45a9e616 100644 --- a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs +++ b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs @@ -13,6 +13,16 @@ exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > fill path s <a href="/c*lzone/myCoolPath/ham/pineapple/tomato/index.html">delish</a> ` +exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > link in content 1`] = ` +<a href="#the-more-ye-know"> + Oh geez oh heck + There's a link in here!! + But here's <b>a normal tag.</b> + <div>Gotta keep them normal tags.</div> + <div>But not... NESTED LINKS, OOO.</div> +</a> +` + exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > missing content 1`] = ` <a href="banana">(Missing link content)</a> ` |