]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.cpp
InsetFloat: pass back inset-modify that is addressed to other inset
[lyx.git] / src / insets / InsetText.cpp
index 7f881f708acc39b94ba08107fb19d003339ed55d..e448a3fd39dd8d847838f35cddd6783daee92b4d 100644 (file)
@@ -591,7 +591,7 @@ int InsetText::plaintext(odocstringstream & os,
 
 void InsetText::docbook(XMLStream & xs, OutputParams const & rp) const
 {
-    docbook(xs, rp, WriteEverything);
+       docbook(xs, rp, WriteEverything);
 }
 
 
@@ -612,13 +612,13 @@ void InsetText::docbook(XMLStream & xs, OutputParams const & rp, XHTMLOptions op
 
        InsetLayout const & il = getLayout();
        if (opts & WriteOuterTag && !il.docbooktag().empty() && il.docbooktag() != "NONE") {
-        docstring attrs = docstring();
-        if (!il.docbookattr().empty())
-            attrs += from_ascii(il.docbookattr());
-        if (il.docbooktag() == "link")
-            attrs += from_ascii(" xlink:href=\"") + text_.asString() + from_ascii("\"");
-        xs << xml::StartTag(il.docbooktag(), attrs);
-    }
+               docstring attrs = docstring();
+               if (!il.docbookattr().empty())
+                       attrs += from_ascii(il.docbookattr());
+               if (il.docbooktag() == "link")
+                       attrs += from_ascii(" xlink:href=\"") + text_.asString() + from_ascii("\"");
+               xs << xml::StartTag(il.docbooktag(), attrs);
+       }
 
        // No need for labels that are generated from counters.