Fix word reference finding
This commit is contained in:
parent
90e0553f4e
commit
6d7cdf68a9
|
@ -126,7 +126,7 @@ export function parseReferences(detailsMarkdown) {
|
|||
}
|
||||
|
||||
export function getWordReferenceMarkdown(reference) {
|
||||
const wordToFind = reference.replace(/\{\{|\}\}/g, '');
|
||||
let wordToFind = reference.replace(/\{\{|\}\}/g, '');
|
||||
let homonymn = 0;
|
||||
|
||||
if (wordToFind.includes(':')) {
|
||||
|
|
Loading…
Reference in New Issue