Trim trailing whitespace that got added

When using this plugin it added 2 newlines after closing html tag, this fix works for me
Merge pull request #1 from MarkVaughn/patch-1

Trim trailing whitespace that got added