Skip to content

Commit

Permalink
Fixed wrong assumption about rich text tags.
Browse files Browse the repository at this point in the history
Rich text tags can contain space character.
  • Loading branch information
pnarimani committed Sep 6, 2019
1 parent b0acaba commit bebcb4d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Assets/RTLTMPro/Scripts/Runtime/RichTextFixer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,7 @@ public static void FindTag(
{
break;
}

// Rich text tag cannot contain spaces.
if (jChar == ' ')
{
break;
}


if (jChar == '>')
{
// Check if the tag is closing, opening or self contained
Expand Down

0 comments on commit bebcb4d

Please sign in to comment.