]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
[lyx.git] / src / Paragraph.cpp
index 5f138fead8d2e678c41cc4244e263fa6c750f4e1..ba3ee8e0d8d16fbcf4642675b1ad1e5a0d4c1293 100644 (file)
@@ -2396,7 +2396,7 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options) const
 
        for (pos_type i = beg; i < end; ++i) {
                char_type const c = d->text_[i];
-               if (isPrintable(c))
+               if (isPrintable(c) || c == '\t')
                        os.put(c);
                else if (c == META_INSET && options & AS_STR_INSETS)
                        getInset(i)->textString(os);