`getContent()` should call `encodeText()`, not vice versa.