 		format.whiteSpaceCollapse = "collapse";
 		config.textFlowInitialFormat = format;
 		collapsingHTMLImporter =
-			TextConverter.getImporter(TextConverter.HTML_FORMAT, config);
+			TextConverter.getImporter(TextConverter.TEXT_FIELD_HTML_FORMAT, config);
 		collapsingHTMLImporter.throwOnError = false;
 		
-		// Create an importer for HTML_FORMAT that preserves whitespace.
+		// Create an importer for TEXT_FIELD_HTML_FORMAT that preserves whitespace.
 		// Note: We have to make a copy of the textFlowInitialFormat,
 		// which has various formats set to "inherit",
 		// and then modify it and set it back.

		format.whiteSpaceCollapse = "preserve";
		config.textFlowInitialFormat = format;
		preservingHTMLImporter =
			TextConverter.getImporter(TextConverter.HTML_FORMAT, config);
		preservingHTMLImporter.throwOnError = true;
		
		// Create an exporter for HTML_FORMAT.
		htmlExporter =
			TextConverter.getExporter(TextConverter.HTML_FORMAT);
		
		if ("recreateTextLine" in staticTextBlock)
			recreateTextLine = staticTextBlock["recreateTextLine"];

	/**
	 *  @private
	 */
	private static var htmlExporter:ITextExporter;
	
	/**
	 *  @private
