mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-06-25 10:34:15 +02:00
Fix word reference finding
This commit is contained in:
parent
90e0553f4e
commit
6d7cdf68a9
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ export function parseReferences(detailsMarkdown) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getWordReferenceMarkdown(reference) {
|
export function getWordReferenceMarkdown(reference) {
|
||||||
const wordToFind = reference.replace(/\{\{|\}\}/g, '');
|
let wordToFind = reference.replace(/\{\{|\}\}/g, '');
|
||||||
let homonymn = 0;
|
let homonymn = 0;
|
||||||
|
|
||||||
if (wordToFind.includes(':')) {
|
if (wordToFind.includes(':')) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue