Browse Source

Trim leading space on each line of text in Writer.cs #346

master
chrisgregan 9 years ago
parent
commit
62d496ba69
  1. 2
      Assets/Fungus/UI/Scripts/Writer.cs

2
Assets/Fungus/UI/Scripts/Writer.cs

@ -568,7 +568,7 @@ namespace Fungus
yield break; yield break;
} }
string param = paramList[0]; string param = paramList[0].TrimStart(' ', '\t', '\r', '\n');
string startText = text; string startText = text;
string openText = OpenMarkup(); string openText = OpenMarkup();
string closeText = CloseMarkup(); string closeText = CloseMarkup();

Loading…
Cancel
Save