Just a refactoring I thought might be beneficial.

Now no `ERB` object is created unless HTML about to rendered. This should improve performance if anything.

Happy to revert if this is a deal breaker.