From b3949ea33b9145a8c285ff835a61a9f92188fbe7 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Sat, 10 Aug 2019 23:35:54 +0200 Subject: Templates: Accept non-underscored variants of "inkscape:templateinfo" --- src/object/sp-factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object/sp-factory.cpp') 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 {} -- cgit v1.2.3