/** * Escapes characters that can not be in an XML element. */ function escapeElement(value) { return value.replace(/&/g, '&').replace(//g, '>'); } /** * @api private */ module.exports = { escapeElement: escapeElement };