Skip to content

Fix MiniMessage Tag Serialization Order#8681

Open
APickledWalrus wants to merge 2 commits into
dev/patchfrom
patch/tag-serialization-order
Open

Fix MiniMessage Tag Serialization Order#8681
APickledWalrus wants to merge 2 commits into
dev/patchfrom
patch/tag-serialization-order

Conversation

@APickledWalrus

@APickledWalrus APickledWalrus commented Jun 2, 2026

Copy link
Copy Markdown
Member

Problem

Currently, the decorations tag is serialized before the color tag, which causes the decorations to be lost when deserializing if the color codes reset formatting is enabled (which is the case by default).

See #8680 for further information.

Solution

Forces the color tag to come after the decorations tag in our custom resolver.
Also cleans up the actual construction of the custom resolvers.

Testing Completed

I included a small test in TextModule.sk

Supporting Information

n/a


Completes:

Related: none
AI assistance: none

@APickledWalrus APickledWalrus requested a review from a team as a code owner June 2, 2026 22:03
@APickledWalrus APickledWalrus requested review from Pesekjak and TheMug06 and removed request for a team June 2, 2026 22:03
@skriptlang-automation skriptlang-automation Bot added needs reviews A PR that needs additional reviews needs triage An issue that hasn't been classified or verified yet labels Jun 2, 2026
@skriptlang-automation

This comment has been minimized.

@APickledWalrus APickledWalrus linked an issue Jun 2, 2026 that may be closed by this pull request
1 task
@skriptlang-automation skriptlang-automation Bot added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. and removed needs triage An issue that hasn't been classified or verified yet labels Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. needs reviews A PR that needs additional reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Formatting issue when passing text between "" to a function

1 participant