Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24539

For Text component, missing </li> tag in htmlText causes problems for future rendering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.4 (Release)
    • None
    • mx: Text
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a Text component with a 'htmlText' value of something like "<p>valid text</p><li>List Item 1<li>List Item 2</li><p>more text</p>"
      2. Update the 'htmlText' value later on to something else (i.e. "<p>final valid text for text component 1</p>")

      Actual Results after updating htmlText value (* used to represent bullet):

      • final valid text for text component 1

      Expected Results:
      final valid text for text component 1

      Workaround (if any):
      Always include the ending '</li>' tag

      Using the debugger, I was able to see the actual 'htmlText' value after updating had extra "<li>" tags in the content...
      <TEXTFORMAT LEADING="2"><LI><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">final valid text for text component 1</FONT></LI></TEXTFORMAT>

      I've attached a simple test app. that displays the problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: