Validate html

Qt html is based on html 4. </p> is in fact optional, but <p> is mandatory
around <tt>.
This commit is contained in:
Guillaume Munch 2016-12-08 17:21:19 +01:00
parent a7b993143e
commit c96faefdae

View File

@ -285,8 +285,8 @@ bool Converters::checkAuth(Converter const & conv, string const & doc_fname)
return true;
const docstring security_warning = bformat(
_("<p>The requested operation requires the use of a converter from "
"%2$s to %3$s:"
"<blockquote><tt>%1$s</tt></blockquote>"
"%2$s to %3$s:</p>"
"<blockquote><p><tt>%1$s</tt></p></blockquote>"
"<p>This external program can execute arbitrary commands on your "
"system, including dangerous ones, if instructed to do so by a "
"maliciously crafted .lyx document.</p>"),