move require 'erb' down into html formatter