Bug fixed: now specific fold text show correctly.
Better logic to trim leading and tailing empty lines.