Fixing Blade not trimming the result

When a view extends a layout that yields a content, normaly you give some spaces between the @extends('masterview') and the @section('example'), those spaces are being printed in the source code of the html.
The solution was trimming the content received from the compileString method.

Hope it helps.

Best wishes,
João Lopes