]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / insets / InsetNote.cpp
index 2351c2584a1b23d0b6ec6decfd3580ad3499c07a..9b4ba5768d42407f9dd5da5d63be85b67b9bf13d 100644 (file)
@@ -310,6 +310,10 @@ void InsetNote::validate(LaTeXFeatures & features) const
        switch (params_.type) {
        case InsetNoteParams::Comment:
                features.require("verbatim");
+               if (features.runparams().flavor == OutputParams::HTML)
+                       // we do output this but set display to "none" by default,
+                       // but people might want to use it.
+                       InsetCollapsable::validate(features);
                break;
        case InsetNoteParams::Greyedout:
                features.require("color");