Set class

This commit is contained in:
Benjamin A. Shelton 2026-06-11 00:02:58 -06:00
commit 89b3533d3f
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -23,7 +23,6 @@ export const ScriptureLinks = () => {
passage = arg;
}
}
console.log('specified scripture');
} else {
passage = node.children?.[0]?.value.trim() || '';
}
@ -40,11 +39,10 @@ export const ScriptureLinks = () => {
passage = passage.replace(/\:/, '%3A');
node.properties.href = `https://www.biblegateway.com/passage/?search=${passage}&version=ESV`;
console.log('match:', match);
node.properties.class = 'scripture';
if (match) {
console.log(match);
currentBook = match?.[1].trim();
console.log(currentBook);
}
});
}