Quickfix for TileMill/#777
This commit is contained in:
parent
5413e9e44c
commit
e6d2764a95
@ -108,7 +108,7 @@ tree.Definition.prototype.symbolizersToXML = function(env, symbolizers, zoom) {
|
|||||||
xml += ' <' + name + ' ';
|
xml += ' <' + name + ' ';
|
||||||
for (var key in attributes) {
|
for (var key in attributes) {
|
||||||
var x = tree.Reference.selector(attributes[key].name);
|
var x = tree.Reference.selector(attributes[key].name);
|
||||||
if (x.serialization && x.serialization === 'content') {
|
if (x && x.serialization && x.serialization === 'content') {
|
||||||
selfclosing = false;
|
selfclosing = false;
|
||||||
tagcontent = attributes[key].eval(env).toXML(env, true);
|
tagcontent = attributes[key].eval(env).toXML(env, true);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user