]> git.lyx.org Git - features.git/commitdiff
Fix comment
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 30 Apr 2018 07:41:12 +0000 (09:41 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 30 Apr 2018 07:41:12 +0000 (09:41 +0200)
src/insets/InsetText.cpp

index dad7e2e2483d34d74f182e189f5f998f3123a2c1..f6f6669c4aa7fb424c157087ba2898bee4550f97 100644 (file)
@@ -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;