Replacing Text by Script with <> in it

I’m doing this:

public testText?: Text = null || undefined;
public testfunc(newText : string): void {
  if (this.testText) { this.testText.text = newText; }

As long as newtext is just a normal string, the text get’s replaced normally, but when I’m using a text with <> commands in it, the text is just added to the textfield and the old text is still shown as well.

Original Post on Discord

by user 334342083445784576


by user 334342083445784576

bump maybe better to open an issue on github for this?

by user 334342083445784576

Ah sorry that it slipped through. Yes please
On github are also some issues that you reported that should be fixed. Would be great if you could have a look at them again and let me know if they’re fixed by now