bug: Amaya 10.1-pre4 attaches the container's class to an inner new element

Hi again  :-)

In the small document listed below select the three paragraphs (eventually
touching Esc to select them in full) and transform into a bullet list with
^h ^L or the tools menu.

Now it has two boxes: the newly created <ol> is applied the class of the
enclosing <div> which is not what I expected.

Juan Lanus

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/">
    .msgToSelf {
      border: 1px solid gray;
      background-color: yellow;
      padding-left: 2px;
      padding-right: 2px;

<h1>transform test</h1>

<div class="msgToSelf">
<p>First element</p>

<p>Second element</p>

<p>Third element</p>

Received on Sunday, 31 August 2008 17:31:51 UTC