added replacement of external links in post rendering