Strip whitespace
Add support for custom HTML macros