restore bold and italic functionality