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

[TLF 2571205] src attribute in <img> tag converts to lower case when using TextConverter.importToFlow with TEXT_FIELD_HTML_FORMAT format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. var tempTextFlow:TextFlow = TextConverter.importToFlow('<img src="#FooBar"/>', TextConverter.TEXT_FIELD_HTML_FORMAT);

      Actual Results:
      <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><img source="#foobar"/></TextFlow>

      Expected Results:
      <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><img source="#FooBar"/></TextFlow>

      Workaround (if any):

      line#155 (flashx.textLayout.conversion.HtmlImporter - flex_sdk_4.1.0.14532)
      _ilgFormatImporter = new CaseInsensitiveTLFFormatImporter(Dictionary,_imageDescription);

      should read:
      _ilgFormatImporter = new CaseInsensitiveTLFFormatImporter(Dictionary,_imageDescription, false);

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: