Don not render empty widgets. Trim empty spaces before widget render