Fix parsing of multiline module strings