minor whitespace fix
This commit is contained in:
parent
2487f4433b
commit
24c8087bd4
1 changed files with 10 additions and 11 deletions
|
|
@ -1092,8 +1092,7 @@ def createGroupsForCommonAttributes(elem):
|
||||||
while curChild >= 0:
|
while curChild >= 0:
|
||||||
childNode = elem.childNodes.item(curChild)
|
childNode = elem.childNodes.item(curChild)
|
||||||
|
|
||||||
if childNode.nodeType == 1 and childNode.getAttribute(curAttr) != '' and \
|
if childNode.nodeType == 1 and childNode.getAttribute(curAttr) != '' and childNode.nodeName in [
|
||||||
childNode.nodeName in [
|
|
||||||
# only attempt to group elements that the content model allows to be children of a <g>
|
# only attempt to group elements that the content model allows to be children of a <g>
|
||||||
|
|
||||||
# SVG 1.1 (see https://www.w3.org/TR/SVG/struct.html#GElement)
|
# SVG 1.1 (see https://www.w3.org/TR/SVG/struct.html#GElement)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue