Make a copy of the markup don't replace it