From 16dc796a47cb2d0d130c85d7e47b9a2235d6297c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 30 Apr 2018 09:41:12 +0200 Subject: [PATCH] Fix comment --- src/insets/InsetText.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index dad7e2e248..f6f6669c4a 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -1093,8 +1093,7 @@ bool InsetText::needsCProtection(bool const maintext, bool const fragile) const if (hasCProtectContent(fragile)) return true; - // Environments and "no latex" types (e.g., knitr chunks) - // need cprotection regardless the content + // Environments generally need cprotection in fragile context if (fragile && getLayout().latextype() == InsetLayout::ENVIRONMENT) return true; -- 2.39.2