Strings containing numbers are trimmed when put in json #1139
Labels
bug
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
Describe the bug
Strings containing a number surrounded by white spaces have their white spaces removed once put into a json object or array.
To Reproduce
Steps to reproduce the behavior:
[r: json.append("[]", " 0 ")]
[0]
[" 0 "]
Expected behavior
The behavior is the same as 1.5.10: the leading and trailing white spaces are not removed on 1.5.11.
MapTool Info
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: