commit c96faefdae4b3b73dc6f02e244373ab17a117a6f
Author: Guillaume Munch <[email protected]>
Date:   Thu Dec 8 17:21:19 2016 +0100

    Validate html
    
    Qt html is based on html 4. </p> is in fact optional, but <p> is mandatory
    around <tt>.
---
 src/Converter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Converter.cpp b/src/Converter.cpp
index e596b3d..1027af6 100644
--- a/src/Converter.cpp
+++ b/src/Converter.cpp
@@ -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>"),

Reply via email to