Skip to content

Provide a way to retain tags such as <rainbow> when serializing

Description

Attempting to serialize components which have rainbow or gradient tags results in the tag getting converted to a lot of individual color tags (see below). It would be useful to keep the rainbow tags when e.g. the user wants to convert from non-strict to strict format.

Original text:
<rainbow>test</rainbow>
Expected output once deserialized and serialized back:
<rainbow>test</rainbow>
Actual output:
<#f3801f>t</#f3801f><#4bff2c>e</#4bff2c><#0c80e0>s</#0c80e0><#b401d3>t</#b401d3>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions