Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: Markdown hyperlinks with parenthesis take first closing parenthesis as final (#1213)
Jason Shawn D' Souza1b0629bf0f2b
diff --git a/web/src/labs/marked/parser/Link.tsx b/web/src/labs/marked/parser/Link.tsxindex b7ea90b04..6db26922f 100644--- a/web/src/labs/marked/parser/Link.tsx+++ b/web/src/labs/marked/parser/Link.tsx@@ -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);