fedimbed: attempt to support masked links
This commit is contained in:
parent
61e8b573b1
commit
6146b708db
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ const FRIENDLY_USERAGENT =
|
|||
"HiddenPhox/fedimbed (https://gitdab.com/Cynosphere/HiddenPhox)";
|
||||
|
||||
const URLS_REGEX =
|
||||
/(?:\s|^)(\|\|\s*)?(https?:\/\/[^\s<]+[^<.,:;"'\]\s])(\s*\|\|)?/g;
|
||||
/(?:\s|^|\]\()(\|\|\s*)?(https?:\/\/[^\s<]+[^<.,:;"'\]|)\s])(\s*\)?\|\||\s*[\S]*?\))?/g;
|
||||
const SPOILER_REGEX = /(?:\s|^)\|\|([\s\S]+?)\|\|/;
|
||||
|
||||
const PATH_REGEX = {
|
||||
|
|
Loading…
Reference in a new issue