Change coding style
Make generator_name a helper
Make "text only" link use current generator