Issue 3: Implemented handling of mix of text and blocks within paragraphs