diff --git a/src/insets/InsetHyperlink.cpp b/src/insets/InsetHyperlink.cpp index 54f1f2c765..039f553d1b 100644 --- a/src/insets/InsetHyperlink.cpp +++ b/src/insets/InsetHyperlink.cpp @@ -22,6 +22,7 @@ #include "LaTeXFeatures.h" #include "OutputParams.h" #include "output_xhtml.h" +#include "sgml.h" #include "support/docstream.h" #include "support/FileName.h" @@ -232,7 +233,7 @@ int InsetHyperlink::docbook(odocstream & os, OutputParams const &) const os << "" - << getParam("name") + << sgml::escapeString(getParam("name")) << ""; return 0; } diff --git a/status.22x b/status.22x index 62bb7ff4f0..261968292e 100644 --- a/status.22x +++ b/status.22x @@ -112,6 +112,10 @@ What's new set to [None] or OT1 but the global default is T1. # Quote type ignored for LyXHTML: always "English" quotes used. +- Output correct identifier for DocBook XML. + +- Correctly escape hyperlinks for DocBook output. + * LYX2LYX