fixed code for newsflash to support external links and image refs