It probably didn't like the didn't. It doesn't like n't unless a mod has gone to the trouble of putting it in by hand. They do this sometimes but it is better not to risk it. The only time I think they do it consistently is when the abbreviation changes the word order, such as Isn't she which isn't a contraction of
Is not she.