@JohnMcLear 
It's a basic input validation. :)
It fixes the server crashes if setHTML is called with no html parameter.

I stumbled across this issue when calling setHTML with the parameter text instead of html as the doc in current develop states.
The doc is already fixed in this branch.

You are welcome to propose a better fix for this issue.