commit 8ef7d1aaec53e2a5e3b4353a67527efc2deb8589
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Jul 22 20:04:19 2018 +0200

    Amend d41c3f27d91
    
    Quote insets are allowed in ERT.
---
 src/insets/InsetERT.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetERT.h b/src/insets/InsetERT.h
index ba62977..fb67bc1 100644
--- a/src/insets/InsetERT.h
+++ b/src/insets/InsetERT.h
@@ -80,7 +80,7 @@ private:
        ///
        bool allowSpellCheck() const { return false; }
        ///
-       bool insetAllowed(InsetCode /* code */) const { return false; }
+       bool insetAllowed(InsetCode code) const { return code == QUOTE_CODE; }
        ///
        unique_ptr<support::TempFile> tempfile_;
 };

Reply via email to