Stop matrix replacing ampersands in metadata values/keys

(Oliver Kass) #1


Does anyone know if there is a way to stop Matrix from replacing “&” with & in metadata schemas?

We have a csv list of options, many of which us ampersands. Matrix is automatically replacing these with the html entity after upload.


(John gill) #2

Looking at the code, there’s no way to prevent that behaviour while using CSV import.

Your only options will be to either start maintaining the options manually, or to use the js_api to set the select_options attribute on that metadata field directly.

(Oliver Kass) #3

Thanks John. Think manually is the way to go. Didn’t realise you could re-order via drag and drop. face palm