input: Make identical bh-template as bemhtml. Close #442

Close #442