fix warnings spouted by richtext code, make links clickable