Remove empty last line in HTML snippet.