Added support for subscript and superscript characters. This omission was revealed by bug #19560.