We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1302e5 commit 613343cCopy full SHA for 613343c
1 file changed
views/discussions/show.haml
@@ -4,10 +4,10 @@
4
%img{:src => gravatar_url_for(@discussion.author_email)}
5
%h1= @discussion.title
6
%p{:style => "padding-bottom:1em"} By <a href="/hackers/#{@discussion.author}">#{@discussion.author}</a>
7
+:markdown
8
+ #{@discussion.body}
9
-%p= @discussion.body
-
10
-%hr
+%hr
11
12
- @discussion.replies.each do |reply|
13
.comment{:style => "clear:both"}
@@ -17,8 +17,8 @@
17
%div{:style => "width:500px"}
18
%p
19
<a href="/hackers/#{reply.author}">#{reply.author}</a> says:
20
- %p
21
- = reply.body
+ :markdown
+ #{reply.body}
22
23
%hr
24
0 commit comments