Bug 963 support submit.bml to tt

This is mostly for review, as I want it to get more testers than just me before I'm comfortable calling it done.

Fixes #963
not entirely sure that "::" is valid in class names. It probably wouldn't work in most browsers (which would assume the ":" is for a pseudoclass)