diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-09 18:37:03 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-09 18:37:03 -0300 |
commit | d90d5dc841c1f910f78f7307dbb1295f04fe7ade (patch) | |
tree | b6e1e02212ef6cf2b609c34f8b650798aeffded7 /src/content/dependencies | |
parent | a44ebe6c0790ed5a1dc08bc27e4e8c59155e931a (diff) |
content: transformContent: always stringify {type: 'node'} data
This lets custom tags show up in lyrics, which were assuming access to node.data.includes().
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/transformContent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index cc4e7a3a..588e5355 100644 --- a/src/content/dependencies/transformContent.js +++ b/src/content/dependencies/transformContent.js @@ -418,7 +418,7 @@ export default { ? htmlFn(value, {html, language}) : value); - return {type: 'text', data: contents}; + return {type: 'text', data: contents.toString()}; } default: |