Permalink
Browse files

Fixed multi line code block indention

  • Loading branch information...
1 parent 6456699 commit 2b7877d5d4b6bd0a45eb1bbba7672bac1446d67c @roryg committed Nov 19, 2014
Showing with 14 additions and 4 deletions.
  1. +6 −0 changelog.txt
  2. +2 −1 index.hbs
  3. +1 −1 package.json
  4. +3 −1 page.hbs
  5. +2 −1 post.hbs
View
@@ -1,4 +1,10 @@
------------------------------
+Ghostwriter Version 1.8.2
+------------------------------
+
+- Fixed multiline code block indention
+
+------------------------------
Ghostwriter Version 1.8.1
------------------------------
View
@@ -3,7 +3,8 @@
<div id="latest-post" class="container">
{{#foreach posts}}
{{#if @first}}
- {{> post-content}}
+{{! No indention to prevent handlebars indenting <pre> tag content}}
+{{> post-content}}
{{/if}}
{{/foreach}}
</div>
View
@@ -1,4 +1,4 @@
{
"name": "Ghostwriter",
- "version": "1.8.1"
+ "version": "1.8.2"
}
View
@@ -13,7 +13,9 @@
{{#if image}}
<img class="post-featured-image" src="{{image}}">
{{/if}}
- {{{content}}}
+
+{{! No indention to prevent handlebars indenting <pre> tag content}}
+{{{content}}}
{{#if tags}}
<p class="post-tags"><span>Tagged:</span> {{tags}}</p>
View
@@ -2,6 +2,7 @@
<div class="container">
{{#post}}
- {{> post-content}}
+{{! No indention to prevent handlebars indenting <pre> tag content}}
+{{> post-content}}
{{/post}}
</div>

0 comments on commit 2b7877d

Please sign in to comment.