]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
File format change caused by 34eadf5d4.
[lyx.git] / src / insets / InsetWrap.cpp
index 181474a889feb3f7ed5e49795f9005805f7123bb..cfe887033dd5c5446e96c6a0cedc344b24418c72 100644 (file)
@@ -82,7 +82,7 @@ void InsetWrap::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action()) {
        case LFUN_INSET_MODIFY: {
-               cur.recordUndoInset(ATOMIC_UNDO, this);
+               cur.recordUndoInset(this);
                InsetWrapParams params;
                InsetWrap::string2params(to_utf8(cmd.argument()), params);
                params_.lines = params.lines;
@@ -230,7 +230,7 @@ docstring InsetWrap::xhtml(XHTMLStream & xs, OutputParams const & rp) const
        string const len = params_.width.asHTMLString();
        string const width = len.empty() ? "50%" : len;
        InsetLayout const & il = getLayout();
-       string const tag = il.htmltag();
+       string const tag = il.htmltag();
        string const attr = il.htmlattr() + " style='width:" + width + ";'";
        xs << html::StartTag(tag, attr);
        docstring const deferred =