[Bug] Openscad parameter initial value is cut off

I couldn’t find a dedicated MakerWorld bug thread like the one that exists for Bambu Studio, so I’m posting it here for now.

As shown in the following picture, my model has a long string parameter. In the UI the parameter appears to be cut off. I do not know if it is due to the long string length, the ; character, or something else, but it’s probably not working as intended. I can write the string same into the parameter manually, so it only seems to be an issue with the initial loading of the script.

I’ve tested it in Firefox and Chrome, both have the same result.

String parsing and control characters, name a more iconic bug duo

Specifically parsing things that should be treated as opaque :sweat_smile:. Come to think of it, it probably sees the semicolon in the string and assumes it’s the end of the statement.