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