Open
Description
If one currently uses our / [command] block with anything non-trivial, e.g. like this (BTW note the use of a fixed user name instead of @p
due to #91):
give michaelpapa7 written_book 1 0 {pages:["{\"text\":\"Hello\"}"],title:"First Quest",author:"https://www.learn.study",display:{Lore:["The first quest is your first test..."]}}
this does not work. There is nothing on the server log, but the Browser's Console has this:
Uncaught SyntaxError: Invalid or unexpected token
so looks like we're screwing up / missing some escaping of the JSON-like Minecraft "data" String at some stage? We probably should be correctly escaping anything end-users put into the white spaces in Scratch blocks before we send the through Vert.x into our back-end.
@edewit FYI and perhaps this is something you would like to have a go at, some time.