]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.cpp
Get rid of xmlize, bringing no advantage over escapeString.
[lyx.git] / src / insets / InsetHyperlink.cpp
index 0f039e34d81deb9372452bcbd939ad622b80cc7a..26850cd9be6c18714a838e97b95db6dc003f715b 100644 (file)
@@ -224,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);