Replacing special characters for code to display