Friendly links rewriter for rich text fields