Tidy (XML) Bug

In my XML I’ve got a tag which is named <_i18n>.
That underscore is causing some troubles.

Tidy converts that tag to: <_i18n>
Without the underscore everything is fine.

Bug or am I missing something?


any punctuation character is illegal as a first character of a xml name. this includes the underscore. that’s probably the reason why tidy decides to escape the whole thing.

Thanks!.. no text …