HTMLMesh incorrect text line break

Hi everyone!
I’ve been experimenting with HTMLMesh to create UI in VR mode, however I ran into an issue of text not translating to the next line.
In the example html is displayed correctly, but htmlMesh is wrong. I’d appreciate any help or workaround for this.

Text doesn’t currently wrap in HTML mesh. You’ll have to implement wrapping yourself.

I started a PR to implement this, but it is incomplete:

1 Like

Code from this PR helped with the issue, thanks!