refactoring: html; law