using <br> for breakElement combined with lists not working well

  •  02-25-2006, 1:13 PM

    using <br> for breakElement combined with lists not working well

    Background:  if I have text typed in multiple lines like this:

    blah
    blah
    blah

    and then I highlight all three rows and press the bullet list button, I expect to get this:

    • blah
    • blah
    • blah
    And this works correctly if using <div> as the break element - i.e. my html to start looks like:
    <div>blah</div>
    <div>blah</div>
    <div>blah</div>


    HOWEVER, if I use the <br> as a break element, and the resulting html is:
    blah<br>blah<br>blah

    then when Highlighting those three lines of  text and pressing the bullet list button, I get:

    <ul>
        <li>blah<br>blah<br>blah </li>
    </ul>

    which of course looks like this (NOT CORRECT!):
     
     
    My users are complaining about this, and I do NEED to use <br>  as the break element.
     
    There is also funkiness if I now "undo" the list by again pressing the bullet list button, as you now insert <p> tags around my original html:  <p>blah<br>blah<br>blah </p>
     
    I just downloaded the package dated 2-24-06, so I am using the most current code, and getting this behavior.  This is in IE 6.
     
    Please help.
    Sheryl
     
     PS the image that appears when I edit this post isn't appearing when the post is published... another problem?  I uploaded to your forums before inserting it, so???
View Complete Thread