Describe the bug
The code highlighter is breaking if the object has empty string value, see this screenshot:
As you can see near the line 95 metaAppDescription: '', the highlighted code is not working anymore, and every objects and nested objects bellow this line will not be highlighted correctly.
To Reproduce
Take this JS code and use it in as a record in a table, next query the table to see the result:
Describe the bug The code highlighter is breaking if the object has empty string value, see this screenshot:![surrealist-bug](https://github.com/surrealdb/surrealist/assets/16241982/f5b55fcc-9b64-4ce7-b781-ebab7f8696ae)
As you can see near the line 95
metaAppDescription: '',
the highlighted code is not working anymore, and every objects and nested objects bellow this line will not be highlighted correctly.To Reproduce Take this JS code and use it in as a record in a table, next query the table to see the result:
Expected behavior The code should be highlighted correctly.
Environment: