From 32b487516e4e15aaf689a14f5825df3293c221e9 Mon Sep 17 00:00:00 2001 From: CodexNotFound <105505041+CodexNotFound@users.noreply.github.com> Date: Wed, 26 Jul 2023 23:20:33 +0200 Subject: [PATCH] Update brToSpaceRegex to be more flexible (#626) --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index d369e4b2..dcdfa189 100644 --- a/src/util.ts +++ b/src/util.ts @@ -29,7 +29,7 @@ import {globalMessages, serverMessages} from "../messages"; import ConfigurationError from "@/errors/ConfigurationError"; const documentRange = document.createRange(), - brToSpaceRegex = /
/g; + brToSpaceRegex = /
/g; export const titleColoursRegex = /ยง[0-9a-f]/ig; export const netherWorldNameRegex = /[_\s]?nether([\s_]|$)/i;