X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNote.cpp;h=9b4ba5768d42407f9dd5da5d63be85b67b9bf13d;hb=9c4929ca406091267dafa40f5e083a27db046bf6;hp=2351c2584a1b23d0b6ec6decfd3580ad3499c07a;hpb=7287a259c5436b8f3f384c0d0bd7641a2f2601e9;p=lyx.git diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp index 2351c2584a..9b4ba5768d 100644 --- a/src/insets/InsetNote.cpp +++ b/src/insets/InsetNote.cpp @@ -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");