From 01a9a77f170838c55d0e780ee083999c11c94aef Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 7 Mar 2023 03:52:17 +0200 Subject: [PATCH] remove leftover console.log --- files/assets/js/markdown.js | 1 - 1 file changed, 1 deletion(-) diff --git a/files/assets/js/markdown.js b/files/assets/js/markdown.js index 15813cb44..01212be1a 100644 --- a/files/assets/js/markdown.js +++ b/files/assets/js/markdown.js @@ -31,7 +31,6 @@ const reDisableBeforeUnload = /^\/submit|^\/h\/[a-zA-Z0-9_\-]{3,20}\/submit/; const image_regex_extensions = document.getElementById('IMAGE_FORMATS').value.replaceAll(',', '|') const regex_pattern = String.raw`(^|\s)(https:\/\/[\w\-.#&/=\?@%;+,:]{5,250}(\.|\?format=)(` + image_regex_extensions + String.raw`)((\?|&)[\w\-.#&/=\?@%;+,:]*)?)($|\s)` -console.log(regex_pattern) const compiled_regex = new RegExp(regex_pattern, "g"); function markdown(t) {