mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Fix bug reported on user list: <title> not escaped.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40131 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cd2e6d99ac
commit
d1802a5234
@ -1714,7 +1714,9 @@ void Buffer::writeLyXHTMLSource(odocstream & os,
|
||||
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user