Not a bug. This is the intended behavior. The wrap operation ``filters'' wrapping an element into itself (even if this is allowed by the schema) because it is generally not useful to do so.
Note that converting or wrapping *two* <div>s into a single <div> works fine. Daniel Dekany wrote: > So, in XHTML if I select a div element, and then I select Edit -> > Convert [wrap], then it doesn't lists div as a possible wrapper. Why > is that? I believe it's valid according the XHTML DTD. >

