Fix JSON tables with non-string values
What does this MR do and why?
Fix JSON tables with non-string values.
Ensure strings are UTF-8 encoded when we pass them to GLFMMarkdown; it's
not just the empty string we have to worry about, it turns out.
References
Fixes `json:table` with integer cell values raises `T... (#596559 - closed).
Screenshots or screen recordings
With this input:
```json:table
{"fields":[{"key":"a"}],
"items":[{"a":42}],
"markdown":true}
```| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Try making a comment with the above Markdown in it. Observe it fails. (You also fail to preview it, or to paste it into the rich-text editor.)
- Check this branch out.
- Repeat. Observe it succeeds.
- Observe.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

