redbluegames / unity-text-typer

Text typing effect for Unity uGUI Text components
MIT License
307 stars 28 forks source link

Strip Style Tags #29

Closed edwardrowe closed 5 years ago

edwardrowe commented 5 years ago

Style tags are not considered the "Built-in" type, so they end up getting included in the calculations for visible text, even though they get stripped. This causes text to be truncated and index out of bounds errors.

To fix we should include "Style" as part of the Unity tags in TextTagParser.