Description
Error messages are surfaced to the user in the following components:
- FunctionMetadataDialog component
- ZObjectStringRenderer component
- FunctionInputParser component
Some of these are safe html fragments:
- message "wikilambda-visualeditor-wikifunctionscall-error-parser"
- message "wikilambda-renderer-unknown-error"
- error string arguments list
- child error type list
We should only add as v-html those strings that we know are safe HTML fragments, and insert as text all the rest.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist