What "cleaning" means here
- Strip tags —
<i>,<b>,<font>,{\an8}and friends, for platforms that render them literally. - Drop hearing-impaired cues — lines that are only a sound description, such as
[Music],(laughs)or♪♪, which look wrong in a translated subtitle. - Collapse spacing — double spaces, trailing spaces and tabs inside a cue.
- Rewrap — enforce a maximum characters per line so nothing overflows.
- Remove empty cues — blocks that contain no text at all.
Order of operations
Cleaning happens after the timing options and before overlap repair, so a line that gets rewrapped into two lines is still checked for duration and reading speed afterwards. That order matters: rewrapping to a shorter CPL usually lowers the reading-speed problem, which is one of the cheapest ways to make a QC report pass.