fixing the colour of anchor tags inside preview