You could try the (very) simple HTML editor I use for my CM project. It can only handle B, I, U and A, but then again, it was never meant to do more. It's written in wxPython, based on Scintilla and can probably be extended to fit your needs.
You can find it here: http://sourceforge.net/project/showfiles.php?group_id=72786&package_id=138707 BR /Johan Lindberg -- http://mail.python.org/mailman/listinfo/python-list