From: Jean-Marc Lasgouttes Date: Sun, 17 Jul 2022 17:09:22 +0000 (+0200) Subject: Export ' as ’ in HTML X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ad3e6c69b2ce;p=features.git Export ' as ’ in HTML This is similar to what LaTeX does in its output. See the (long) discussion in ticket #11244. --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 73edb5d240..f2709c8b4c 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -4012,6 +4012,8 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf, runparams, i); if (c == ' ' && (style.free_spacing || runparams.free_spacing)) xs << XMLStream::ESCAPE_NONE << " "; + else if (c == '\'') + xs << XMLStream::ESCAPE_NONE << "’"; else xs << c; }