fedimbed: forgot the '?'
This commit is contained in:
parent
d98dc9b925
commit
bd8e92289c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const {parseHtmlEntities, getUploadLimit} = require("../lib/utils.js");
|
||||||
const FRIENDLY_USERAGENT =
|
const FRIENDLY_USERAGENT =
|
||||||
"HiddenPhox/fedimbed (https://gitdab.com/Cynosphere/HiddenPhox)";
|
"HiddenPhox/fedimbed (https://gitdab.com/Cynosphere/HiddenPhox)";
|
||||||
|
|
||||||
const URLS_REGEX = /(?:\s|^)(\|\|\s+)(https?:\/\/[^\s<]+[^<.,:;"'\]\s])(\s+\|\|)/g;
|
const URLS_REGEX = /(?:\s|^)(\|\|\s*)?(https?:\/\/[^\s<]+[^<.,:;"'\]\s])(\s+\|\|)?/g;
|
||||||
const SPOILER_REGEX = /^\|\|([\s\S]+?)\|\|/;
|
const SPOILER_REGEX = /^\|\|([\s\S]+?)\|\|/;
|
||||||
|
|
||||||
const PATH_REGEX = {
|
const PATH_REGEX = {
|
||||||
|
|
Loading…
Reference in a new issue