Closed imvaskel closed 3 years ago
matches invalid formatting codes like HIJPQ
and doesn't match the capitalized codes i.e. §A
capitals are supported, and while those are matched, there is no point to over-complicate the regex to include 5 characters that get accidentally matched.
§§aa
will be replaced to §a
just replace the §
character with &
or something, like i told.
Implemented already by 0e9cf2bbd229a79cb9103dab21697204391b8be0 and 2158d20dc7cd9feb6a9e3768d469e93b668d2f9d
This adds minecraft formatting codes sanitizing (if they are valid).