commit 16dc796a47cb2d0d130c85d7e47b9a2235d6297c
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Apr 30 09:41:12 2018 +0200

    Fix comment
---
 src/insets/InsetText.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp
index dad7e2e..f6f6669 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;
 

Reply via email to