Fix pasting sections

This commit is contained in:
azakhi
2018-08-11 13:15:21 +03:00
parent f6969a0204
commit 216168533f
2 changed files with 25 additions and 3 deletions

View File

@@ -543,7 +543,7 @@ namespace Filtration.Parser.Services
if (!string.IsNullOrEmpty(block.Description))
{
outputString += "# " + block.Description + Environment.NewLine;
outputString += (block.Enabled ? "# " : "## ") + block.Description + Environment.NewLine;
}
outputString += (!block.Enabled ? "#" : string.Empty) + block.Action.GetAttributeDescription();