We get rid of the div requirement because lines with a name on them are wrapped in spans, not divs.