More likely they hacked their YAML parser to treat on as a string.
At least that's what Travis CI folks did:
https://github.com/travis-ci/travis-yml#user-content-yaml