The text may seem like a straightforward advertisement, but it plays on the ambiguity of the phrase 'is fond of children', which could imply that the dog likes to eat children as well as 'eats anything'. This double meaning creates a humorous effect.
Dog for sale : eats anything and is fond of children