Use nested list instead of HTML