extract more svg metadata

This commit is contained in:
Jean-Francois Dockes
2013-03-28 08:49:40 +01:00
parent 838ea6d623
commit 2018ef76b8
3 changed files with 38 additions and 2 deletions
+4 -1
View File
@@ -179,7 +179,10 @@ class Doc {
} else if (mit->second.empty()) {
mit->second = value;
} else {
mit->second += string(" - ") + value;
// It may happen that the same attr exists several times
// in the internfile stack. Avoid duplicating values.
if (mit->second != value)
mit->second += string(" - ") + value;
}
return true;
}