0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-22 02:48:40 +00:00

lint client

This commit is contained in:
Víctor Losada Hernández
2026-05-18 16:21:57 +02:00
parent 4a565b929b
commit 15db3c9f66
3 changed files with 30 additions and 33 deletions
@@ -86,8 +86,8 @@ export function tokenizeCustomMarkdown(text) {
if(/\~/.test(lineText)) {
const strikethroughRegex = /~(?!\s)(.+?)(?<!\s)~/g;
let match = strikethroughRegex.exec(lineText);
let type = customTags.strikethrough;
const match = strikethroughRegex.exec(lineText);
const type = customTags.strikethrough;
if(match) {
tokens.push({