Fixed: Now escapes special characters.