This uses ReactNodes instead of HTML strings to allow removing uses of dangerouslySetInnerHTML. The existing usage was most likely safe due to being populated by constant strings, not user content, but standard React escaping is best practice anyway.
Changes
Several config constant strings are replaced with inline JSX.
Checklist
[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
This uses ReactNodes instead of HTML strings to allow removing uses of
dangerouslySetInnerHTML
. The existing usage was most likely safe due to being populated by constant strings, not user content, but standard React escaping is best practice anyway.Changes
Checklist