There is a [reported issue](https://github.com/trentm/python-markdown2/issues/689) with markdown2=2.5.5 This issue causes html blocks in markdown2 to error if there is a linebreak in the attributes. Version should be pinned to < 2.5.5 until a solution is provided.