RichText breaks when typing "<" key

Hey devs!

I was my syntax highlighter from a while ago until I’ve ran into an issue.

The problem occurs whenever you’ve typed the < key inside of the TextLabel with RichText, and when you do, the entire TextLabel breaks



When you’ve typed the < key:


And I was wondering if there are any ways around this annoying bug.
Thanks! :grin:

Have you tried pushing a backslash behind the “<“? Backslash basically tells rich text to ignore the next character.

Sorry, I’m kinda confused on what you mean.

Do you mean like this?
'<font color="rgb(%d, %d, %d)">\%s</font>'

Nevermind, I’ve fixed the problem due to this post!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.