support classes and ids for paragraphs and convert -- to ndashes