Fixes with pretty printing and whitespace in media blocks