summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text-editing.cpp')
-rw-r--r--src/text-editing.cpp1
1 files changed, 1 insertions, 0 deletions
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);