From 1b27f152a302ba0d2e66ad08d35f88aab0aafa7a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 31 Jan 2026 23:19:00 -0400 Subject: yaml: parseLyrics: watch out for @@ --- src/data/yaml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/data/yaml.js') diff --git a/src/data/yaml.js b/src/data/yaml.js index ddf4481d..7ba6d559 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -1057,7 +1057,7 @@ export function parseReferencingSources(value, {subdoc, ReferencingSourcesEntry} } export function parseLyrics(value, {subdoc, LyricsEntry}) { - if (typeof value === 'string' && !/^.*:<\/i>/m.test(value)) { + if (typeof value === 'string' && !/^(@@|.*:<\/i>)/m.test(value)) { const document = {'Body': value}; return [subdoc(LyricsEntry, document, {bindInto: 'thing'})]; -- cgit 1.3.0-6-gf8a5