resolve #6 with injecting <div> between <li> and <a> and moving formatting