#include "Lexer.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
-#include "output_xhtml.h"
+#include "xml.h"
#include "texstream.h"
#include "Text.h"
}
-int InsetVSpace::docbook(odocstream & os, OutputParams const &) const
+void InsetVSpace::docbook(XMLStream & xs, OutputParams const &) const
{
- os << '\n';
- return 1;
+ xs << xml::CR();
}
-docstring InsetVSpace::xhtml(XHTMLStream & os, OutputParams const &) const
+docstring InsetVSpace::xhtml(XMLStream & os, OutputParams const &) const
{
string const len = space_.asHTMLLength();
string const attr = "style='height:" + (len.empty() ? "1em" : len) + "'";
- os << html::StartTag("div", attr, true) << html::EndTag("div");
+ os << xml::StartTag("div", attr, true) << xml::EndTag("div");
return docstring();
}