functions added by innerHTML Template are triggered automatically

I came across this weird behavior. I want to add a html template containing an onclick behavior. So I tried the code below. The problem is that the function callFunction inside is executed …