Improvements for inline code converting