Fix tedit validation errors (bug 1019729)

https://bugzilla.mozilla.org/show_bug.cgi?id=1019729
Or wait, are you replacing the `?`s? I'm not sure. Add more comments lol