Draft: Support rendering HTML in JSON
What does this MR do and why?
This WIP MR adds support for rendering HTML within JSON tables and is based off @ealcantara's excellent PoC suggestion.
Related to Process Markdown and/or HTML data in JSON table (#375177)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before (with no HTML)
Before (with HTML)
After
How to set up and validate locally
Check out this branch locally for your GDK and:
- Create a new Issue (for any project) using the following as the description and save:
```json:table { "fields": [ { "key": "starts_at", "label": "Date", "sortable": true }, { "key": "url", "label": "URL" } ], "items": [ { "starts_at": "2024-10-07", "url": "<a href='https://example.com/page1.html'>https://example.com/page1.html</a>" }, { "starts_at": "2024-10-10", "url": "<a href='https://example.com/page2.html'>https://example.com/page2.html</a>" } ], "filter": true }
- The URLs should be rendered as clickable links.
Edited by Ash McKenzie