diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-04-29 12:03:21 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-04-29 12:03:21 +0000 |
| commit | 01ed6d62a228ce560c5ed0976b63609efb7076ac (patch) | |
| tree | 7e56f46331b2b938c411cfe9d63143af3854acaf /src/sp-tspan.cpp | |
| parent | Correct enumeration names. (diff) | |
| download | inkscape-01ed6d62a228ce560c5ed0976b63609efb7076ac.tar.gz inkscape-01ed6d62a228ce560c5ed0976b63609efb7076ac.zip | |
SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'.
(bzr r14863)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-tspan.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index 05f8430ba..d4fbddffb 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -245,6 +245,7 @@ void SPTextPath::build(SPDocument *doc, Inkscape::XML::Node *repr) { this->readAttr( "rotate" ); this->readAttr( "startOffset" ); this->readAttr( "xlink:href" ); + this->readAttr( "href" ); bool no_content = true; @@ -283,6 +284,7 @@ void SPTextPath::set(unsigned int key, const gchar* value) { } else { switch (key) { case SP_ATTR_XLINK_HREF: + case SP_ATTR_HREF: this->sourcePath->link((char*)value); break; case SP_ATTR_STARTOFFSET: |
