remove leading and trailing empty lines Rated 4 out of 5 stars

almost perfect.

Potential improvement: remove not only leading or trailing spaces, but also leading or trailing empty lines/linebreaks.

This review is for a previous version of the add-on (1.2).