      */
     private function createTextFlowFromMarkup(markup:Object):TextFlow
     {
-        // The whiteSpaceCollapse format determines how whitespace
-        // is processed when markup is imported.
-		staticTextLayoutFormat.whiteSpaceCollapse =
-            getStyle("whiteSpaceCollapse");
-
         if (markup is XML || markup is String)
         {
 	        // We need to wrap the markup in a <TextFlow> tag

        // getting 'content' will return the TextFlow.
        _content = null;
        contentChanged = false;
        
        super.text = value;
    }

     * 
     *  This will throw on import error.
     */
    private function importToFlow(source:Object, format:String):TextFlow
    {        
        // The whiteSpaceCollapse format determines how whitespace
        // is processed when markup is imported.
        staticTextLayoutFormat.whiteSpaceCollapse =
            getStyle("whiteSpaceCollapse");
        
        var importer:ITextImporter = TextFilter.getImporter(format, 
                                                            staticConfiguration);
        
        // Throw import errors rather than return a null textFlow.
        // Alternatively, the error strings are in the Vector, importer.errors.
