Escape ampersands and quotes/apostrophes because the latter caused links to break as they were being typed.