diff --git a/src/insets/InsetVSpace.cpp b/src/insets/InsetVSpace.cpp
index bcd11091f1..d1e5a19660 100644
--- a/src/insets/InsetVSpace.cpp
+++ b/src/insets/InsetVSpace.cpp
@@ -23,6 +23,7 @@
#include "Lexer.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
+#include "output_xhtml.h"
#include "Text.h"
#include "support/debug.h"
@@ -233,14 +234,16 @@ int InsetVSpace::docbook(odocstream & os, OutputParams const &) const
}
-docstring InsetVSpace::xhtml(odocstream & os, OutputParams const &) const
+docstring InsetVSpace::xhtml(XHTMLStream & xs, OutputParams const &) const
{
string len = space_.asHTMLLength();
if (len.empty())
// we didn't understand it
- os << "
\n";
- else
- os << "