fix links with inner elements