Incorrect line breaks in TeX formulas

  • Bear Version: Version 3.0.1
  • OS Version: MacOS 27.0.1 / iOS 27.0.1
  • What were you doing: I wrote a long TeX formula that extended to the end of the line.
  • What feature did you use: TeX formulas
  • What happened: It appeared immediately below where I was typing and overlapped the other content. This behavior is then carried over into the final export (tested with PDF and JPEG). Holds both on MacOS and iOS.
  • What did you expect to happen: Wrap to a new line with proper line spacing and without overlapping content.