-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use preventIndent option in Handlebars compiler to prevent partials f…
…rom getting extra whitespace, closes #113
- Loading branch information
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
exports['builds a page with a default layout 1'] = "<html>\n <body>\n <p>Body</p>\n \n </body>\n</html>\n" | ||
exports['builds a page with a default layout 1'] = "<html>\n <body>\n <p>Body</p>\n\n </body>\n</html>\n" | ||
|
||
exports['builds a page with an alternate layout 1'] = "<html>\n <body class=\"alternate\">\n <p>Body</p>\n \n </body>\n</html>\n" | ||
exports['builds a page with an alternate layout 1'] = "<html>\n <body class=\"alternate\">\n <p>Body</p>\n\n </body>\n</html>\n" | ||
|
||
exports['builds a page with preset layouts by folder 1'] = "<html>\n <body class=\"alternate\">\n <p>Body</p>\n \n </body>\n</html>\n" | ||
exports['builds a page with preset layouts by folder 1'] = "<html>\n <body class=\"alternate\">\n <p>Body</p>\n\n </body>\n</html>\n" | ||
|
||
exports['builds a page with custom partials 1'] = "<html>\n <body>\n <p>Body</p>\n <p>Partial!</p>\n \n \n </body>\n</html>\n" | ||
exports['builds a page with custom partials 1'] = "<html>\n <body>\n <p>Body</p>\n<p>Partial!</p>\n\n\n </body>\n</html>\n" | ||
|
||
exports['builds a page with Front Matter properties added as variables 1'] = "<html>\n <body>\n Layout: Yes, kittens.\n Page: Yes, kittens.\n \n Partial: Yes, kittens.\n \n </body>\n</html>\n" | ||
exports['builds a page with Front Matter properties added as variables 1'] = "<html>\n <body>\n Layout: Yes, kittens.\n Page: Yes, kittens.\n\n Partial: Yes, kittens.\n\n </body>\n</html>\n" | ||
|
||
exports['builds a page with custom helpers 1'] = "<html>\n <body>\n Helper!\n \n </body>\n</html>\n" | ||
exports['builds a page with custom helpers 1'] = "<html>\n <body>\n Helper!\n\n </body>\n</html>\n" | ||
|
||
exports['builds a page with external JSON data 1'] = "<html>\n <body>\n eggs\n bacon\n toast\n \n </body>\n</html>\n" | ||
exports['builds a page with external JSON data 1'] = "<html>\n <body>\n eggs\nbacon\ntoast\n\n </body>\n</html>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters