ID:2589406
 
Resolved
Maptext considered a change of styles to be a potential break point for wrapping text, which was incorrect.
BYOND Version:513
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 83.0.4103.116
Applies to:Dream Seeker
Status: Resolved (513.1528)

This issue has been resolved.
Test:
MaptextWrappingBug_src.zip

Preview:


The "right" behavior contains a forced line-break to simulate what browsers actually show:
https://jsfiddle.net/k2sb3Lt4/

This bug makes it difficult (impossible?) to use native text wrapping with gradual text reveals where words don't jump between lines:
https://www.gamasutra.com/blogs/MiguelSantirso/20180129/ 313803/Better_text_reveals_Unity_code_inside.php
Lummox JR resolved issue with message:
Maptext considered a change of styles to be a potential break point for wrapping text, which was incorrect.