[Dillo-dev] Splitting html.cc: common functions, part *2*