html_render.py fixed

All suggestions implemented and OneLineTag renders all items in the list now.