Unverified Commit c6d43581 authored by boojack's avatar boojack Committed by GitHub

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 1b0629bf.
parent 31399fe4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment