Steps to replicate the issue:
- (let <math>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</math>)
- Lorem ipsum dolor sit amet, consectetur adipiscing elit <math>K</math>-theory
Non-space symbol after </math> jumps to a new line, but shouldn't.
Instead of this behaviour we could assume that a non-breaking symbol exists after </math>:
- (let {{nowrap|<math>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</math>)}}
- Lorem ipsum dolor sit amet, consectetur adipiscing elit {{nowrap|<math>K</math>-theory}}