commit ac58a5060e296001b7f42b8413a41ec305bfa3aa
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Dec 2 11:21:15 2022 +0100
Revert e500dc19c15334
More general fix is upcoming.
---
src/mathed/InsetMathHull.cpp | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp
index f5dce80..0ab06d2 100644
--- a/src/mathed/InsetMathHull.cpp
+++ b/src/mathed/InsetMathHull.cpp
@@ -709,20 +709,7 @@ static docstring latexString(InsetMathHull const & inset)
otexrowstream ots(ls);
TeXMathStream wi(ots, false, true, TeXMathStream::wsPreview, encoding);
inset.write(wi);
- docstring const s = ls.str();
- docstring res;
- for (char_type c : s) {
- if (encoding->encodable(c))
- res += c;
- else {
- // indicate the encoding error by a boxed '?'
- res += "{\\fboxsep=1pt\\fbox{?}}";
- LYXERR0("Uncodable character" << " '"
- << c
- << "'");
- }
- }
- return res;
+ return ls.str();
}
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs