diff --git a/src/ol/xml.js b/src/ol/xml.js index 249713fca2..8f7662da4d 100644 --- a/src/ol/xml.js +++ b/src/ol/xml.js @@ -77,8 +77,10 @@ ol.xml.createElementNS = /** + * Recursively grab all text content of child nodes into a single string. * @param {Node} node Node. - * @param {boolean} normalizeWhitespace Normalize whitespace. + * @param {boolean} normalizeWhitespace Normalize whitespace: remove all line + * breaks. * @return {string} All text content. * @api */ @@ -89,7 +91,8 @@ ol.xml.getAllTextContent = function(node, normalizeWhitespace) { /** * @param {Node} node Node. - * @param {boolean} normalizeWhitespace Normalize whitespace. + * @param {boolean} normalizeWhitespace Normalize whitespace: remove all line + * breaks. * @param {Array.} accumulator Accumulator. * @private * @return {Array.} Accumulator.