summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-23 17:33:14 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-01-23 17:40:25 +0900
commit6c9adb0679953190eca8795cb67bfce53c4fd012 (patch)
treec978d32b50822e20c48da3413ed035a3e6a1e4dd
parent20a3a25558ca754165df96d8513724f4e40ce78c (diff)
downloadxamarin-forms-6c9adb0679953190eca8795cb67bfce53c4fd012.tar.gz
xamarin-forms-6c9adb0679953190eca8795cb67bfce53c4fd012.tar.bz2
xamarin-forms-6c9adb0679953190eca8795cb67bfce53c4fd012.zip
Fix Span's behavior about new line.
TASK=TCAPI-2200 Change-Id: Ie261ccb4a7e6b51120e10c573e5e99e5c7a25f2b
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs b/Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs
index f782efd1..da3d1460 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs
@@ -1,3 +1,4 @@
+using System;
using System.Collections.Generic;
using System.Linq;
@@ -91,7 +92,8 @@ namespace Xamarin.Forms.Platform.Tizen.Native
}
else
{
- return string.Concat(from span in this.Spans select span.GetMarkupText());
+ var conStr = string.Concat(from span in this.Spans select span.GetMarkupText());
+ return conStr.Replace(Environment.NewLine, "<br>");
}
}