commit 6d5e17998506b5e909027dd35db9c58840f4d4fe
Author: Scott Kostyshak <[email protected]>
Date:   Fri Apr 20 23:35:30 2018 -0400

    cprotect listings when needed (e.g. in a footnote)
    
    This allows to put a non-inline listing in commands, such as a box,
    footnote, and margin note.
    
    Fixes #6177 and #9321.
---
 lib/layouts/stdinsets.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc
index 5aca788..fc54ac8 100644
--- a/lib/layouts/stdinsets.inc
+++ b/lib/layouts/stdinsets.inc
@@ -361,6 +361,7 @@ InsetLayout Listings
        KeepEmpty             true
        FreeSpacing           true
        ForceLTR              true
+       NeedCProtect          true
        RefPrefix             lst
        HTMLTag               pre
        HTMLStyle

Reply via email to