From 01ed6d62a228ce560c5ed0976b63609efb7076ac Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 29 Apr 2016 14:03:21 +0200 Subject: SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'. (bzr r14863) --- src/sp-hatch.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp-hatch.cpp') diff --git a/src/sp-hatch.cpp b/src/sp-hatch.cpp index 2d938618c..274b73e86 100644 --- a/src/sp-hatch.cpp +++ b/src/sp-hatch.cpp @@ -73,6 +73,7 @@ void SPHatch::build(SPDocument* doc, Inkscape::XML::Node* repr) readAttr("pitch"); readAttr("rotate"); readAttr("xlink:href"); + readAttr("href"); readAttr( "style" ); // Register ourselves @@ -196,6 +197,7 @@ void SPHatch::set(unsigned int key, const gchar* value) break; case SP_ATTR_XLINK_HREF: + case SP_ATTR_HREF: if (value && href == value) { // Href unchanged, do nothing. } else { -- cgit v1.2.3