[LyX/master] Fix logic (typo)

Juergen Spitzmueller spitz at lyx.org
Fri Aug 14 06:40:41 UTC 2026


commit 5179c16cd86a1f88c1641fdd63bb238ed9a8b571
Author: Juergen Spitzmueller <spitz at lyx.org>
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;


More information about the lyx-cvs mailing list