diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-07-22 12:05:49 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2008-07-22 12:05:49 +0000 |
| commit | 1da87c36ad655ddcfced4becb7972747fcbb89f6 (patch) | |
| tree | 9bf3726fda21670b37821f76d197ba5fb63b2553 /src/sp-object-repr.cpp | |
| parent | slightly changed svgfonts example (diff) | |
| download | inkscape-1da87c36ad655ddcfced4becb7972747fcbb89f6.tar.gz inkscape-1da87c36ad655ddcfced4becb7972747fcbb89f6.zip | |
initial handling of <script> tag
Some people develope SVG files that contain javascript. We should not
erase their script nodes!
Also, we could develop a scripting IDE in inkscape. Look at
http://wiki.inkscape.org/wiki/index.php/BlueprintScriptingIDE
(bzr r6391)
Diffstat (limited to 'src/sp-object-repr.cpp')
| -rw-r--r-- | src/sp-object-repr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-object-repr.cpp b/src/sp-object-repr.cpp index 7eb91d281..87c27214d 100644 --- a/src/sp-object-repr.cpp +++ b/src/sp-object-repr.cpp @@ -43,6 +43,7 @@ #include "sp-flowdiv.h" #include "sp-flowregion.h" #include "sp-flowtext.h" +#include "sp-script.h" #include "config.h" #ifdef ENABLE_SVG_FONTS @@ -195,6 +196,7 @@ populate_dtables() { "svg:radialGradient", SP_TYPE_RADIALGRADIENT }, { "svg:rect", SP_TYPE_RECT }, { "svg:stop", SP_TYPE_STOP }, + { "svg:script", SP_TYPE_SCRIPT }, { "svg:svg", SP_TYPE_ROOT }, { "svg:style", SP_TYPE_STYLE_ELEM }, { "svg:switch", SP_TYPE_SWITCH }, |
