From: sasilver Date: Mon, 28 Jul 2008 14:56:51 +0000 (+0000) Subject: codedread's patch to fix editing of text with a title or description (see bug 238093). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b2e43080dc09f00ebc89919b1adbded5203e8ee1;p=inkscape.git codedread's patch to fix editing of text with a title or description (see bug 238093). --- diff --git a/src/text-editing.cpp b/src/text-editing.cpp index b92d85b15..3c4b4da8e 100644 --- a/src/text-editing.cpp +++ b/src/text-editing.cpp @@ -1440,6 +1440,7 @@ static bool tidy_operator_empty_spans(SPObject **item) the repeated strings will be merged by another operator. */ static bool tidy_operator_inexplicable_spans(SPObject **item) { + if (*item && sp_repr_is_meta_element((*item)->repr)) return false; if (SP_IS_STRING(*item)) return false; if (is_line_break_object(*item)) return false; TextTagAttributes *attrs = attributes_for_object(*item);