add an option for line-length set in HTML, and test case