commit b5adcec28aac69e722e8b2bbf28ad2974010f853
Author: Thibaut Cuvelier <[email protected]>
Date:   Sat Sep 19 17:26:17 2020 +0200

    XHTML: fix for encodings in attributes (patch by Kornel)
---
 src/xml.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xml.h b/src/xml.h
index d5b4233..857867b 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -184,7 +184,7 @@ struct StartTag
        ///
        explicit StartTag(std::string const & tag, std::string const & attr,
                                          bool keepempty = false)
-                       : tag_(from_ascii(tag)), attr_(from_ascii(attr)), 
keepempty_(keepempty) {}
+                       : tag_(from_ascii(tag)), attr_(from_utf8(attr)), 
keepempty_(keepempty) {}
        ///
        explicit StartTag(std::string const & tag, docstring const & attr,
                                          bool keepempty = false)
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to