Rich text doesn't work with textbooks even though its enabled

I am trying to make it so that whenever you type a keyword it changes its color, and I have been successful except for the fact that when I use rich text it makes the html text and not html
ex.

I like cheese

would turn out like:
I like <b> cheese </b>