-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minedown generating abnormally excessive components during message file parsing with legacy selectors #22
Comments
Tbh. as far as I can tell the produced components look correct. The only thing that might be possible to improve is to not split different colors into different components with each having the same hover/click events applied but having them be the children of one parent element with those events. But seeing as legacy formatting is, well, legacy I'm not too fond of spending too much time on supporting that use-case. Things to try here are:
|
I use this format for testing:
|
Well you need to test with the hover/click event specified and with multiple colors inside the events, otherwise it's not comparable with your legacy formatting string. |
I try to use this: I'm not sure if it's correct, but the json is 16kb in size
|
I tried using 7ffff& and &b instead of §b, it still loops. |
Please don't close issues if thet haven't been fixed. Also your event-based formatting string doesn't match up with the legacy one so comparing them is pointless. Also I strongly suggest comparing the json generated by one warp entry instead of the whole list as that list contains way too much uneceesary repetition and makes it harder to spot the differences of the actual changed part. |
Sorry, because the issue on the HuskHome side was closed. I don't know how to edit the messages to make them match. |
|
I came from a teleport plugin and the developer suggested that I submit an issue here.
WiIIiam278/HuskHomes#209
Used Version
HuskHome3.x
.Config
Config
[I think it should not be the configuration of HuskHome]
Environment description
Windows, Chinese.
Full Log
Log
What other programs/plugins are you running?
HuskHomes.
What is happening?
MineDown messages I set:
[§b[§a%1%§b]](show_text=§a/warp§b %1% run_command=/warp %1%)
.In this plugin, it outputs these texts:
What did you expect to happen?
json text should be small and no loops.
Additional context
no output error.
The text was updated successfully, but these errors were encountered: