diff --git a/Assets/Fungus/UI/Scripts/Writer.cs b/Assets/Fungus/UI/Scripts/Writer.cs index 9b179826..5e7c8372 100644 --- a/Assets/Fungus/UI/Scripts/Writer.cs +++ b/Assets/Fungus/UI/Scripts/Writer.cs @@ -568,7 +568,7 @@ namespace Fungus yield break; } - string param = paramList[0]; + string param = paramList[0].TrimStart(' ', '\t', '\r', '\n'); string startText = text; string openText = OpenMarkup(); string closeText = CloseMarkup();