From 3b47bd08520b4a55e58f413c127446197dbcd7af Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Tue, 14 Feb 2012 23:30:00 +0000 Subject: [PATCH] Rich text should be inline rather than string... still needs testing for readers/writers of all file formats git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86490 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Cell/DefaultValueBinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Cell/DefaultValueBinder.php b/Classes/PHPExcel/Cell/DefaultValueBinder.php index ee55fc7..3b98867 100644 --- a/Classes/PHPExcel/Cell/DefaultValueBinder.php +++ b/Classes/PHPExcel/Cell/DefaultValueBinder.php @@ -81,7 +81,7 @@ class PHPExcel_Cell_DefaultValueBinder implements PHPExcel_Cell_IValueBinder return PHPExcel_Cell_DataType::TYPE_STRING; } elseif ($pValue instanceof PHPExcel_RichText) { - return PHPExcel_Cell_DataType::TYPE_STRING; + return PHPExcel_Cell_DataType::TYPE_INLINE; } elseif ($pValue{0} === '=' && strlen($pValue) > 1) { return PHPExcel_Cell_DataType::TYPE_FORMULA;