mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 15:20:59 -05:00
In chat replies, a formula written right next to a hyphen (U+2010) or a non-breaking hyphen (U+2011), as in "\(x^2\)‑term", stayed plain text, and when another formula followed later in the paragraph, the text between the two showed up as one red math error. Some models, gpt-oss among them, write the non-breaking hyphen in most of their answers. Both hyphens now work directly before or after a formula, the same way the plain hyphen and the en and em dashes already do. Fixes #34237