MatejBransky / react-katex

Display math in TeX with KaTeX and ReactJS
https://codesandbox.io/s/github/MatejMazur/react-katex/tree/master/demo?fontsize=14&hidenavigation=1&module=%2Fsrc%2FExample.tsx&theme=dark
MIT License
147 stars 12 forks source link

Some symbols create a new line in inline TeX #95

Open yu-globant opened 3 years ago

yu-globant commented 3 years ago

Describe the bug When we write long strings with TeX that has block=false some symbols create a new line and I think that is not the expected result

To Reproduce Steps to reproduce the behavior:

Expected behavior Should not create a new line if any symbols were added

Screenshots

Block prop false

https://user-images.githubusercontent.com/78448149/131021333-a9bc2eac-fb37-4b2e-af44-b625c57a8a2f.mov

Block prop true

https://user-images.githubusercontent.com/78448149/131021408-ee026300-a4d1-410b-85e3-eaadddfe9b10.mov

Desktop (please complete the following information):

Smartphone (please complete the following information):

N/A