fix nested hyperlinks