source.c contains helper function for html modification