git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40132
a592a061-630c-0410-9148-
cb99ea01b6c8
docstring const & doctitle = features.htmlTitle();
os << "<title>"
- << (doctitle.empty() ? from_ascii("LyX Document") : doctitle)
+ << (doctitle.empty() ?
+ from_ascii("LyX Document") :
+ html::htmlize(doctitle, XHTMLStream::ESCAPE_ALL))
<< "</title>\n";
os << "\n<!-- Text Class Preamble -->\n"
- Fix latex export of multilingual documents containing theorem-like
environments (bug 7800).
+- Escape ampersands in <title> when outputting XHTML.
+
* USER INTERFACE