Fix doc.text() when first block is empty

When first block was empty, doc.text() had one extra newline

Merge request reports

Loading