I don't think it was either. The example contained both zzz and xxx, as pointed out by S.L. Barth, and if I had to guess I'd say the editor just got confused, saw the xxx, missed the zzz, assumed the OP made a mistake and tried to be helpful.
I think that it's a general sign of a problem on a higher level that your assumption was that it must be either a bad joke, or offensive, but not any other possibility. It's probably better for the community over all if folks take a second to try and understand why things happen rather than immediately getting offended at the drop of a hat.
Besides, xxx.com is still in the example snippet itself; it's inconsistent to me that you did not also find that offensive somehow.
Anyway I've edited the post to use reserved example domain names; regardless of a readers' sensitivity, those domain names are the appropriate ones to use in this case anyway. This is generally the type of action that should be taken if you find yourself offended by misguided example domains in the future.
xxx.com
was already in the text, this looks like an honest error. There's no reason to assume it was malicious or offensive.example.com
. =)