Consistently use lowercase HTML tag names

Unlike HTML, XHTML is case-sensitive.
This commit is contained in:
Matthias Schiffer
2018-08-18 12:46:59 +02:00
parent 26cc0a3ded
commit 321166849b
15 changed files with 20 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ import {createElementNS, parse} from '../../../../src/ol/xml.js';
const readGeometry = function(format, text, opt_options) {
const doc = parse(text);
// we need an intermediate node for testing purposes
const node = document.createElement('PRE');
const node = document.createElement('pre');
node.appendChild(doc.documentElement);
return format.readGeometryFromNode(node, opt_options);
};