Here: https://github.com/edx/edx-platform/blob/master/common/lib/xmodule/xmodule/js/src/problem/edit.coffee#L191 This code (toXML) doesn't escape "&""<"">" to HTML entities, which may cause the resulted XML to be invalid.
Here:
https://github.com/edx/edx-platform/blob/master/common/lib/xmodule/xmodule/js/src/problem/edit.coffee#L191
This code (toXML) doesn't escape "&""<"">" to HTML entities, which may cause the resulted XML to be invalid.