Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Fixed generation of double lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwertheim committed Dec 8, 2011
1 parent 3271e2e commit 10f577f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Deploy/rake-build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@env_solutionname = 'Kiwi'
@env_projectnameKiwiMarkdown = 'Kiwi.Markdown'
@env_solutionfolderpath = "../Source"
@env_buildversion = "0.7.0" + (ENV['env_buildnumber'].to_s.empty? ? "" : ".#{ENV['env_buildnumber'].to_s}")
@env_buildversion = "0.7.1" + (ENV['env_buildnumber'].to_s.empty? ? "" : ".#{ENV['env_buildnumber'].to_s}")
@env_buildconfigname = ENV['env_buildconfigname'].to_s.empty? ? "Release" : ENV['env_buildconfigname'].to_s
@env_buildname = "#{@env_solutionname}-v#{@env_buildversion}-#{@env_buildconfigname}"
@env_buildfolderpath = "#{ENV['env_buildfolderpath']}Builds/#{@env_buildname}"
Expand Down
5 changes: 4 additions & 1 deletion Source/Projects/Kiwi.Markdown/Tranformers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ protected virtual string FormatAndColorize(string value, ILanguage language = nu
if(language == null)
output.Append(new string(' ', 4));

output.AppendLine(line);
if(line == "\n")
output.AppendLine();
else
output.AppendLine(line);
}

return language != null
Expand Down

0 comments on commit 10f577f

Please sign in to comment.