mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix comment
This commit is contained in:
parent
768c9a552e
commit
16dc796a47
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user