summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.cpp
diff options
context:
space:
mode:
authorStephen Silver <sasilver@yahoo.com>2008-07-08 13:00:20 +0000
committersasilver <sasilver@users.sourceforge.net>2008-07-08 13:00:20 +0000
commit5d11a5a6e78890682852e2b2f492853cb514c196 (patch)
tree4e579612753da38d20d3fc02db1a0667b4897fa7 /src/sp-flowtext.cpp
parentdisable motion hints for calligraphy to avoid confusion (diff)
downloadinkscape-5d11a5a6e78890682852e2b2f492853cb514c196.tar.gz
inkscape-5d11a5a6e78890682852e2b2f492853cb514c196.zip
Patch from codedread. Prevents rendering of title/desc/metadata elements in text (fixes bug 238093).
(bzr r6226)
Diffstat (limited to 'src/sp-flowtext.cpp')
-rw-r--r--src/sp-flowtext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index 596d47ba4..8621a27b5 100644
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
@@ -463,7 +463,7 @@ void SPFlowtext::_buildLayoutInput(SPObject *root, Shape const *exclusion_shape,
layout.appendWrapShape(&shapes->back());
}
}
- else if (!SP_IS_FLOWREGIONEXCLUDE(child))
+ else if (!SP_IS_FLOWREGIONEXCLUDE(child) && !sp_repr_is_meta_element(child->repr))
_buildLayoutInput(child, exclusion_shape, shapes, pending_line_break_object);
}