Fix text direction for code sections