Merge branch 'develop' of https://github.com/ben-wallis/Filtration into develop

This commit is contained in:
Ben Wallis 2018-12-06 21:44:24 +00:00
commit 9356f55209
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ namespace Filtration.Parser.Services
var trimmedLine = line.Trim();
if (trimmedLine.IndexOf('#') > 0)
{
blockComment = trimmedLine.Substring(trimmedLine.IndexOf('#') + 1);
blockComment = trimmedLine.Substring(trimmedLine.IndexOf('#') + 1).Trim();
trimmedLine = trimmedLine.Substring(0, trimmedLine.IndexOf('#')).Trim();
}