added support for citations, fixed ul lists