Update src/htmlhandling.c

remove_last_char() function addition.