fix color of links in warnings, fix #10480