From b2e43080dc09f00ebc89919b1adbded5203e8ee1 Mon Sep 17 00:00:00 2001 From: sasilver Date: Mon, 28 Jul 2008 14:56:51 +0000 Subject: [PATCH] codedread's patch to fix editing of text with a title or description (see bug 238093). --- src/text-editing.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2