added link doubleclick prevention and html characters decoding