You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have an option, e.g. escapeHtml to ignore components that are not explicitly defined (similar to how dangerousTags are treated, except that they are rendered as plain text instead of wrapped into a pre).
This is important when using the module to format LLM streams to markdown where we want to display and not strip custom tags, e.g. <custom-tag>something</custom-tag>, should display as is and not as "something" with the tags stripped and a "component not defined" warning thrown.
IMO this should be the default behavior, but there could be an option in config to toggle between this and the current behavior.
Alternatively, there could be two settings, escapeHtml and escapeTags to distinguish between standard HTML tags and unknown tags.
Additionally, it would also be nice to be able to turn off Vue string interpolation via setting, aka. that {{ and }} are escaped so that "this is a {{ var }}" is displayed as is and not as "this is a ".