* doExponant() function. Convert ^^th^^ in <small><sup>th</sup></small>.