[#11593] fix event output for expected string

Some events expects string output to be rendered on smarty template.