Skip to content

Commit

Permalink
Use <pre> when displaying code to preserve spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Oct 22, 2011
1 parent 6f2b3d8 commit 743ae4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/programs/show.html.haml
@@ -1,7 +1,8 @@
%h1 '#{@program.title}', a program by #{@program.author_username}

%code
= @program.source_code
%pre
%code
= @program.source_code

%hr/

Expand Down

0 comments on commit 743ae4c

Please sign in to comment.