Dynamic accordion: nested lists with html markup