add support for lists inside a paragraph