Added support for mako h filter, fixed missing closing %'s