Moved string sanitization in Page into a function call instead of in the iterator.