mirror of
https://github.com/tuanzisama/minecraft-color-gradient-generator.git
synced 2024-11-21 01:05:03 +08:00
fix: html adapter
This commit is contained in:
parent
127dc6fc08
commit
df99de610c
@ -31,7 +31,7 @@ class HTMLAdapterClazz extends GradientProcessor {
|
||||
color = [`<span style="color: ${tag.colors?.[index]};">`, "</span>"];
|
||||
index += 1;
|
||||
}
|
||||
textBuilder.appendCharacter(new CharacterBuilder(char.trim() === "" ? " " : "").withColor(color));
|
||||
textBuilder.appendCharacter(new CharacterBuilder(char.trim() === "" ? " " : char).withColor(color));
|
||||
});
|
||||
|
||||
return textBuilder.build();
|
||||
|
Loading…
Reference in New Issue
Block a user