1 Reply Latest reply on Sep 30, 2009 7:36 AM by Jerry62712

    Flex and <br> in a <ul> not right

    Jerry62712 Level 1

      I expected a line break in an unordered list when I added a <br> (see code below).  Instead, it was treated as a new <li> with a new bullet point.  How do I get this to work?

       

      private const noticeList:String = 
           "<ul> " + 
                "<li>Department of Human Services, EEO/AA Office, " + 
                     "401 S. Clinton Street, 7th floor, " +
                     "Chicago, IL 60607</li> " +
                "<li>USDA, Director, Office of Civil Rights, " + 
                     "1400 Independence Avenue, S.W., " +
                     "Washington D.C. 20250-9410 <br />" + 
                     "or call (800) 795-3272 (Voice) " + 
                     "or (202) 720-6382 (TTY)</li> " +
                "<li>HHS, Director, Office of Civil Rights, Room 506-F, " + 
                     "200 Independence Avenue, S.W., " +
                     "Washington, D.C. 20201 <br />" +
                     "or call (202) 619-0403 (Voice) " + 
                     "or (202) 619-3257 (TTY)</li> " + 
           "</ul>"; 
      public function getNoticeList():String {
           return noticeList;     }