Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Grid view converts CSV column header 'title' to the site title #2923
What is the purpose of sanitizeFieldName function? Because of it's name, i thought that it removes/encodes all special chars, but instead of it, fieldName used as selector for dom element. Because of this we have that interesting behaviour using column names like 'title', 'div', '#some-id-that-can-appears-on-the-page'. Probably this function must be rewrited to something that really escapes/removes special chars?