[BUGFIX] Allow AST to be passed to preprocess

This should resolve #193.
Merge pull request #202 from chadhietala/allow-html-passing

[BUGFIX] Allow AST to be passed to preprocess