Make sure that htmlentities() isn't blank. Should fix #33