Fix syntax errors in the custom content output.