0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-07 16:38:38 +00:00

remove console.log

This commit is contained in:
Víctor Losada Hernández
2026-05-04 16:13:15 +02:00
committed by GitHub
parent 479834cea8
commit 80093a1998
@@ -185,7 +185,6 @@ export function tokenizeCustomMarkdown(text) {
const injectionRegex = /(?:^|[^{\n])({(?=((?:[:=](?:"[\w,\-()#%. ]*"|[\w\-()#%.]*)|[^"':={}\s]*)*))\2})/gmd; const injectionRegex = /(?:^|[^{\n])({(?=((?:[:=](?:"[\w,\-()#%. ]*"|[\w\-()#%.]*)|[^"':={}\s]*)*))\2})/gmd;
let match; let match;
while ((match = injectionRegex.exec(lineText)) !== null) { while ((match = injectionRegex.exec(lineText)) !== null) {
console.log(match[2]);
tokens.push({ tokens.push({
line : lineNumber, line : lineNumber,
from : match.indices[1][0], from : match.indices[1][0],