0 Replies Latest reply on Sep 11, 2009 5:54 PM by Carol L. Frampton

    [svn:fx-trunk] 10192: Fix TextFlowUtil. importFromString so that it preserves whitespace when it converts the string to XML .

    Carol L. Frampton Level 2

      Revision: 10192

      Author:   cframpto@adobe.com

      Date:     2009-09-11 17:54:37 -0700 (Fri, 11 Sep 2009)

       

      Log Message:

      ***********

      Fix TextFlowUtil.importFromString so that it preserves whitespace when it converts the string to XML.  Let TLF collapse whitepspace if requested. 

       

      QE notes:  Note that TLF replaces all newlines and tabs inside the span with a space and it replaces sequences of 2 or more whitespace characters with a single space.  So in this example the leading space '         ' in the third line is collapsed to ' '.

      Doc notes:

      Bugs: SDK-21725

      Reviewer: Gordon

      Tests run: checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-21725

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as