« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/yaml.js2
1 files changed, 1 insertions, 1 deletions
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>.*:<\/i>/m.test(value)) {
+  if (typeof value === 'string' && !/^(@@|<i>.*:<\/i>)/m.test(value)) {
     const document = {'Body': value};
 
     return [subdoc(LyricsEntry, document, {bindInto: 'thing'})];