This is undesirable if e.g. a comma follow an inline equation.
This seems to happen to me most often on Chrome for Linux (Ubuntu 17.10), but I'm not 100% sure I haven't seen it on Chrome for Mac.
Example gist with display. If you adjust the right border of the browser window, you can get it to break between "A = (ε_0 + H)/2" and its following comma.
I'm not sure if KaTeX has much control over this behavior, but I figure I'd report it in case anyone has any ideas.
Screenshot:

This is undesirable if e.g. a comma follow an inline equation.
This seems to happen to me most often on Chrome for Linux (Ubuntu 17.10), but I'm not 100% sure I haven't seen it on Chrome for Mac.
Example gist with display. If you adjust the right border of the browser window, you can get it to break between "A = (ε_0 + H)/2" and its following comma.
I'm not sure if KaTeX has much control over this behavior, but I figure I'd report it in case anyone has any ideas.
Screenshot: