Set class
This commit is contained in:
parent
ec9da44da8
commit
93017d4264
1 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue