method
sanitize
v2_2_9 -
Show latest stable
- Class:
Gem::Indexer
sanitize(spec)public
Sanitize the descriptive fields in the spec. Sometimes non-ASCII characters will garble the site index. Non-ASCII characters will be replaced by their XML entity equivalent.