Added spans to possible nodelist for pagebreaks