Improved the way URLs are automatically detected in posts