« get me outta code hell

language: don't stringify html.tags() on accident - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackReleaseInfo.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-10 11:47:06 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-10 11:47:06 -0300
commit38d67eb60e9c5bd73ee1887a55bb132406ed0217 (patch)
treec3c2ea03ac908903f92a7e4d7647882a28a85aff /src/content/dependencies/generateTrackReleaseInfo.js
parentd725cf1596d7f6b3b881edd23915c7fe9285eb86 (diff)
language: don't stringify html.tags() on accident
Checking contentOnly only tells if a tag is, you know,
content-only. But other tags are content, and they were
getting stringified here! This caused chunkwrap to intrude
where it shouldn't, thinking it really was getting passed
a string of normal, non-HTML content.

We're using html.smush() to the intended effect now,
still collapsing those tags flat and then iterating over
the contents to sanitize like usual.
Diffstat (limited to 'src/content/dependencies/generateTrackReleaseInfo.js')
0 files changed, 0 insertions, 0 deletions