Add HTML output for lists.