Phoenix616 / MineDown

A MarkDown inspired markup library for Minecraft chat components
https://wiki.phoenix616.dev/library/minedown/
MIT License
296 stars 21 forks source link

Fix gradient bug. #28

Closed tangjin0418 closed 1 year ago

tangjin0418 commented 1 year ago

Fix: #21 Like &#0f0-#fff-#0f0&, there are two "#0f0", but the result is only one. Test result: image The first one is the current version, second one is my version.

Note: I didn't change the version, it's still 1.7.1-SNAPSHOT.

tangjin0418 commented 1 year ago

And sorry I broke your code formatting .-.

Phoenix616 commented 1 year ago

And sorry I broke your code formatting .-.

First off thank you for writing this PR but please fix that, I can't really merge it like this with a large diff of lots of unnecessary changes.