diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-08-10 21:35:54 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-08-31 14:50:39 +0000 |
| commit | b3949ea33b9145a8c285ff835a61a9f92188fbe7 (patch) | |
| tree | ad64121b2e4bf52f6fa8ed2ac45c28ce769b5fe4 /src/object | |
| parent | Templates: Remove unused "long_description" ("inkscape:_long" tag) (diff) | |
| download | inkscape-b3949ea33b9145a8c285ff835a61a9f92188fbe7.tar.gz inkscape-b3949ea33b9145a8c285ff835a61a9f92188fbe7.zip | |
Templates: Accept non-underscored variants of "inkscape:templateinfo"
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/sp-factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-factory.cpp b/src/object/sp-factory.cpp index cc635752e..e773354f2 100644 --- a/src/object/sp-factory.cpp +++ b/src/object/sp-factory.cpp @@ -315,7 +315,7 @@ SPObject *SPFactory::createObject(std::string const& id) {} else if (id == "inkscape:clipboard") // SP node not necessary {} - else if (id == "inkscape:_templateinfo") // ? + else if (id == "inkscape:templateinfo" || id == "inkscape:_templateinfo") // metadata for templates {} else if (id.empty()) // comments {} |
