Fixed template issue where rendering <li li></li> tags