summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-04-29 12:03:21 +0000
committertavmjong-free <tavmjong@free.fr>2016-04-29 12:03:21 +0000
commit01ed6d62a228ce560c5ed0976b63609efb7076ac (patch)
tree7e56f46331b2b938c411cfe9d63143af3854acaf /src/attributes.cpp
parentCorrect enumeration names. (diff)
downloadinkscape-01ed6d62a228ce560c5ed0976b63609efb7076ac.tar.gz
inkscape-01ed6d62a228ce560c5ed0976b63609efb7076ac.zip
SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'.
(bzr r14863)
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 646c2ab0c..223ce5803 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -44,6 +44,7 @@ static SPStyleProp const props[] = {
{SP_ATTR_INKSCAPE_SPRAY_ORIGIN, "inkscape:spray-origin"},
/* SPAnchor */
{SP_ATTR_XLINK_HREF, "xlink:href"},
+ {SP_ATTR_HREF, "href"},
{SP_ATTR_XLINK_TYPE, "xlink:type"},
{SP_ATTR_XLINK_ROLE, "xlink:role"},
{SP_ATTR_XLINK_ARCROLE, "xlink:arcrole"},