Skip to content

Commit

Permalink
Merge pull request #9 from amitport/patch-1
Browse files Browse the repository at this point in the history
default to 'html' for unknown file extensions
  • Loading branch information
jsoverson committed Apr 13, 2013
2 parents 6d55060 + e793827 commit 59f01a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/preprocess.js
Expand Up @@ -50,7 +50,9 @@ function preprocess(src,context,type) {
src = src.toString();
context = context || process.env;

type = type || 'html';
if (typeof delim[type] === 'undefined'){
type = 'html';
}

var rv = src;

Expand Down

0 comments on commit 59f01a2

Please sign in to comment.