Fix pasting theme (#124)

This commit is contained in:
azakhi 2018-12-07 00:26:40 +03:00 committed by Ben Wallis
parent 290547cbba
commit 72ed517929
1 changed files with 1 additions and 1 deletions

View File

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