mirror of
https://github.com/usememos/memos.git
synced 2025-02-19 04:40:40 +01:00
revert: Fix: Markdown hyperlinks with parenthesis take first closing parenthesis as final (#1251)
Revert "fix: Markdown hyperlinks with parenthesis take first closing parenthesis as final (#1213)" This reverts commit 1b0629bf0f2b4e4633d42917db257776b79295e9.
This commit is contained in:
parent
31399fe475
commit
c6d43581f9
@ -6,7 +6,7 @@ import BoldEmphasis from "./BoldEmphasis";
|
||||
import PlainText from "./PlainText";
|
||||
import { matcher } from "../matcher";
|
||||
|
||||
export const LINK_REG = /\[(.*?)\]\((.+?)\)$/;
|
||||
export const LINK_REG = /\[(.*?)\]\((.+?)\)+/;
|
||||
|
||||
const renderer = (rawStr: string) => {
|
||||
const matchResult = matcher(rawStr, LINK_REG);
|
||||
|
Loading…
x
Reference in New Issue
Block a user