*/
#include <config.h>
-#include <output_docbook.h>
-
#include "InsetHyperlink.h"
#include "Buffer.h"
#include "FuncStatus.h"
#include "LaTeXFeatures.h"
#include "OutputParams.h"
+#include "output_docbook.h"
#include "output_xhtml.h"
#include "xml.h"
#include "texstream.h"
docstring InsetHyperlink::xhtml(XMLStream & xs, OutputParams const &) const
{
docstring const & target =
- xml::xmlize(getParam("target"), XMLStream::ESCAPE_AND);
+ xml::escapeString(getParam("target"), XMLStream::ESCAPE_AND);
docstring const & name = getParam("name");
xs << xml::StartTag("a", to_utf8("href=\"" + target + "\""));
xs << (name.empty() ? target : name);