bool Inset::isBufferValid() const
{
return buffer_
- && (isBufferLoaded() || buffer_->isClone());
+ && (isBufferLoaded() || buffer_->isInternal() || buffer_->isClone());
}
}
-docstring Inset::xhtml(XHTMLStream & xs, OutputParams const &) const
+docstring Inset::xhtml(XMLStream & xs, OutputParams const &) const
{
xs << "[[Inset: " << from_ascii(insetName(lyxCode())) << "]]";
return docstring();