fixed linebreaks after \begin{env} and at the beginning of blocks.