Additional work towards #12

This constitutes what I think is the first working version capable of handing any depth of recursively nested line breaks within a paragraph.

I will create a GitHub issue for the need for test cases to demonstrate that this works.