Fixed default type for unknown typed text blocks

This commit is contained in:
Jeremy Ruston
2012-03-03 18:07:47 +00:00
parent 4999a3b729
commit 26b5fc4a6d
2 changed files with 12 additions and 1 deletions

View File

@@ -414,7 +414,7 @@ var rules = [
oldNextMatch = w.nextMatch,
oldChildren = w.children,
oldDependencies = w.dependencies,
parseTree = w.store.parseText(mimeType,content);
parseTree = w.store.parseText(mimeType,content,{defaultType: "text/plain"});
w.output = oldOutput;
w.source = oldSource;
w.nextMatch = oldNextMatch;