(#9) convert attrib and templates

Trailing whitespace detected.