mirror of
https://github.com/outline/outline.git
synced 2026-01-06 11:09:55 -06:00
fix: Inline math formatting should trigger on last $ only (#10159)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import MarkdownIt, { StateBlock, StateInline } from "markdown-it";
|
||||
|
||||
export const REGEX_INLINE_MATH_DOLLARS = /\$\$(.+)\$\$/;
|
||||
export const REGEX_INLINE_MATH_DOLLARS = /\$\$(.+)\$\$$/;
|
||||
|
||||
export const REGEX_BLOCK_MATH_DOLLARS = /\$\$\$\s+$/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user