Remove outdated comment
originally added in879300373fand fixed shortly after in2dc788aa3f
This commit is contained in:
parent
1bb875192f
commit
985cb58a26
1 changed files with 1 additions and 3 deletions
|
|
@ -3649,9 +3649,7 @@ def scourString(in_string, options=None):
|
||||||
# remove descriptive elements
|
# remove descriptive elements
|
||||||
removeDescriptiveElements(doc, options)
|
removeDescriptiveElements(doc, options)
|
||||||
|
|
||||||
# for whatever reason this does not always remove all inkscape/sodipodi attributes/elements
|
# remove unneeded namespaced elements/attributes added by common editors
|
||||||
# on the first pass, so we do it multiple times
|
|
||||||
# does it have to do with removal of children affecting the childlist?
|
|
||||||
if options.keep_editor_data is False:
|
if options.keep_editor_data is False:
|
||||||
_num_elements_removed += removeNamespacedElements(doc.documentElement,
|
_num_elements_removed += removeNamespacedElements(doc.documentElement,
|
||||||
unwanted_ns)
|
unwanted_ns)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue