Handle hard-wrapped lines in MathAwareMarkdown

This is probably the point of diminishing returns for messing with
python-markdown2.