]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.cpp
Does not compile on older gcc.
[lyx.git] / src / insets / InsetHyperlink.cpp
index 1444fc19a28edc260aa48b987c9a620190f5b725..26850cd9be6c18714a838e97b95db6dc003f715b 100644 (file)
@@ -10,8 +10,6 @@
  */
 
 #include <config.h>
-#include <output_docbook.h>
-
 #include "InsetHyperlink.h"
 
 #include "Buffer.h"
@@ -22,6 +20,7 @@
 #include "FuncStatus.h"
 #include "LaTeXFeatures.h"
 #include "OutputParams.h"
+#include "output_docbook.h"
 #include "output_xhtml.h"
 #include "xml.h"
 #include "texstream.h"
@@ -225,7 +224,7 @@ void InsetHyperlink::docbook(XMLStream & xs, OutputParams const &) const
 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);