2
0
mirror of https://github.com/cderche/greenlock-storage-s3 synced 2025-12-24 13:28:38 +00:00
2019-05-08 12:19:12 +01:00

21 lines
331 B
JavaScript

var escapeElement = require('./escape-element').escapeElement;
/**
* Represents an XML text value.
* @api private
*/
function XmlText(value) {
this.value = value;
}
XmlText.prototype.toString = function () {
return escapeElement('' + this.value);
};
/**
* @api private
*/
module.exports = {
XmlText: XmlText
};