fix(plugin): fix issue with extra new lines.