Use .squeeze instead of .strip.

This way footer_item can be done away with.