using /\n/g,'<br />' does not seem to work.