open-webui/src/lib/utils/marked
Classic298 8e03389de1
fix: inline math touching an em dash or en dash is not rendered (#31901)
In chat replies, inline math written right next to an em dash or en dash, with either $...$ or \(...\), was left unrendered, as in "constants—\(e\), \(i\) and \(0\)—in one equation" where the 0 showed up as plain "(0)". Both dashes are now allowed directly before or after a formula, like spaces, commas and brackets already are, so the math renders whenever a dash touches it.
2026-10-05 06:41:57 +04:00
..
citation-extension.ts chore: format 2026-01-08 01:55:56 +04:00
colon-fence-extension.ts feat: parse :::writing block metadata and use the subject as the block title (#28280) 2026-08-10 19:44:06 -06:00
extension.ts fix: give the underline marked extension a renderer (#29118) 2026-08-28 12:23:06 -04:00
footnote-extension.ts refac: sources and citations 2025-11-23 18:27:57 -05:00
katex-extension.ts fix: inline math touching an em dash or en dash is not rendered (#31901) 2026-10-05 06:41:57 +04:00
mention-extension.ts refac 2026-09-13 23:33:22 -04:00
strikethrough-extension.ts refac: disable single tilde 2025-11-23 17:16:10 -05:00