fix links in plain content