Skip to content

Commit bebcb4d

Browse files
committed
Fixed wrong assumption about rich text tags.
Rich text tags can contain space character.
1 parent b0acaba commit bebcb4d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Assets/RTLTMPro/Scripts/Runtime/RichTextFixer.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,7 @@ public static void FindTag(
138138
{
139139
break;
140140
}
141-
142-
// Rich text tag cannot contain spaces.
143-
if (jChar == ' ')
144-
{
145-
break;
146-
}
147-
141+
148142
if (jChar == '>')
149143
{
150144
// Check if the tag is closing, opening or self contained

0 commit comments

Comments
 (0)