summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs
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-03-24 13:19:01 +0900
commit4662034321e05b698c210169a392edda4c43d5cc (patch)
tree4ab5c74d978256faf1fad53560193cc6b897b07f /Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs
parent7af5b1f6a4f733db87e7998e10a75ad1cb8c9119 (diff)
downloadxamarin-forms-4662034321e05b698c210169a392edda4c43d5cc.tar.gz
xamarin-forms-4662034321e05b698c210169a392edda4c43d5cc.tar.bz2
xamarin-forms-4662034321e05b698c210169a392edda4c43d5cc.zip
Fix Span's behavior about new line.
TASK=TCAPI-2200 Change-Id: Ie261ccb4a7e6b51120e10c573e5e99e5c7a25f2b
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs')
-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>");
}
}