classes added to original <li> are now transfered to rendered <li>