]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.cpp
Get rid of xmlize, bringing no advantage over escapeString.
[lyx.git] / src / insets / InsetBibitem.cpp
index a3cdeac1fc49118e8e27944f134a5154b673fa79..d2386979cb4e42f192711efbb5fefd45786b4e1b 100644 (file)
@@ -343,6 +343,13 @@ void InsetBibitem::updateBuffer(ParIterator const & it, UpdateType utype, bool c
 }
 
 
+void InsetBibitem::docbook(XMLStream &, OutputParams const &) const
+{
+       // Nothing to do: everything is implemented in makeParagraphBibliography.
+       return;
+}
+
+
 docstring InsetBibitem::xhtml(XMLStream & xs, OutputParams const &) const
 {
        // FIXME XHTML
@@ -352,7 +359,7 @@ docstring InsetBibitem::xhtml(XMLStream & xs, OutputParams const &) const
        // handle jumping to ids. If we don't do that, though, we can just put the
        // id into the span tag.
        string const attrs =
-               "id='LyXCite-" + to_utf8(xml::cleanAttr(getParam("key"))) + "'";
+                       "id='LyXCite-" + to_utf8(xml::cleanAttr(getParam("key"))) + "'";
        xs << xml::CompTag("a", attrs);
        xs << xml::StartTag("span", "class='bibitemlabel'");
        xs << bibLabel();