- // If some text is moved into the inset, doInsertInset
- // puts the cursor outside the inset. To insert the
- // caption we put it back into the inset.
- if (content)
+ // If some single-par content is moved into the inset,
+ // doInsertInset puts the cursor outside the inset.
+ // To insert the caption we put it back into the inset.
+ // FIXME cleanup doInsertInset to avoid such dances!
+ if (content && singlepar)