Non-Breaking space (" ") prints as "[NBSP]" from command block (incorrectly), but from chat it prints as " " (correctly)
Execute this command from chat, then from command block.
/title @p actionbar {"text":"3 non-breaking-spaces"}
or this one:
/tellraw @p {"text":"3 non-breaking-spaces"}
or any other text related JSON command even nested in execute:
/execute @p ~ ~ ~ /tellraw @p {"text":"3 non-breaking-spaces"}
Expected:
- same output:
3 non-breaking-spaces
Actual:
- different output:
CHAT:3 non-breaking-spaces
COMMAND BLOCK:
3non-breaking-spaces
Possible cause:
- The way text is parsed and formatted from chat is different from command blocks.
( is used to represent the 'bugged' [nbsp] character)
2016-08-13, 12:14 PM
2019-01-18, 02:05 AM
2017-08-13, 05:02 AM
0
5
JSON, non-breaking-space, text