Add checks for whitespaces around the subtitle lines.