Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/playground/server.cr
Original file line number Diff line number Diff line change
@@ -246,7 +246,7 @@ module Crystal::Playground
private def crystal_source_to_markdown(filename)
String.build do |io|
header = true
File.each_line(filename) do |line|
File.each_line(filename, chomp: false) do |line|
if header && line[0] != '\n' && line[0] != '#'
header = false
io << "```playground\n"

0 comments on commit 15032cc

Please sign in to comment.