[LyX/master] Fix logic (typo)

Juergen Spitzmueller <[email protected]>
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 5179c16cd86a1f88c1641fdd63bb238ed9a8b571
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Aug 14 08:40:21 2026 +0200

    Fix logic (typo)
---
 src/insets/InsetSpecialChar.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets/InsetSpecialChar.cpp
index 7956949c57..41a5049f50 100644
--- a/src/insets/InsetSpecialChar.cpp
+++ b/src/insets/InsetSpecialChar.cpp
@@ -316,7 +316,7 @@ void InsetSpecialChar::docbook(XMLStream & xs, OutputParams const &) const
 
 void InsetSpecialChar::xhtml(XMLStream & xs, OutputParams const &) const
 {
-	if (!unknown_)
+	if (unknown_)
 		return;
 
 	xs << XMLStream::ESCAPE_NONE << sc_.xhtml_output;
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.