Update src/htmlhandling.c

Unfinished HTML file generation addition.