From d90d5dc841c1f910f78f7307dbb1295f04fe7ade Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 9 Aug 2023 18:37:03 -0300 Subject: content: transformContent: always stringify {type: 'node'} data This lets custom tags show up in lyrics, which were assuming access to node.data.includes(). --- src/content/dependencies/transformContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content') 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: -- cgit 1.3.0-6-gf8a5