1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-04-22 19:33:10 +02:00

Fix word reference finding

This commit is contained in:
Robbie Antenesse 2020-07-31 11:29:33 -06:00
parent 90e0553f4e
commit 6d7cdf68a9

View file

@ -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(':')) {