trim whitespace from around source blocks