| ... | ... |
@@ -60,7 +60,7 @@ google_analytics: true |
| 60 | 60 |
#main |
| 61 | 61 |
- if page.respond_to? :date |
| 62 | 62 |
%h2= page.title |
| 63 |
- = content |
|
| 63 |
+ = preserve rp(content) |
|
| 64 | 64 |
%p.pubdate |
| 65 | 65 |
Published: |
| 66 | 66 |
=page.date.strftime("%d %b, %Y")
|
| ... | ... |
@@ -73,7 +73,7 @@ google_analytics: true |
| 73 | 73 |
%a(href="http://designenthusiast.disqus.com/?url=ref") View the discussion thread |
| 74 | 74 |
%script(type="text/javascript" src="http://disqus.com/forums/#{page.disqus_short_name}/embed.js")
|
| 75 | 75 |
- else |
| 76 |
- = content |
|
| 76 |
+ = preserve rp(content) |
|
| 77 | 77 |
#sidebar |
| 78 | 78 |
- if page.respond_to? :twitter_user |
| 79 | 79 |
%h4 Twitter <a class="small" href="http://twitter.com/#{page.twitter_user}">@#{page.twitter_user}</a>
|
| ... | ... |
@@ -6,7 +6,7 @@ title: Blog |
| 6 | 6 |
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index| |
| 7 | 7 |
.article |
| 8 | 8 |
%h2= link_to(post.title, post.url, {:class=>"title"})
|
| 9 |
- = post.content |
|
| 9 |
+ = preserve rp(post.content) |
|
| 10 | 10 |
- if page.respond_to? :disqus_short_name |
| 11 | 11 |
.footer |
| 12 | 12 |
- if post.data["comments_off"] |