summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native
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-07-10 11:11:17 +0900
commit186dd4976a84973377219e2d594cf544e3e3e533 (patch)
tree93db67aab6ac20701325e61c6cbf4ecdbb9a32b9 /Xamarin.Forms.Platform.Tizen/Native
parent91dd370db8b59efd45dfc7d4df80b70cd2e9cb0e (diff)
downloadxamarin-forms-186dd4976a84973377219e2d594cf544e3e3e533.tar.gz
xamarin-forms-186dd4976a84973377219e2d594cf544e3e3e533.tar.bz2
xamarin-forms-186dd4976a84973377219e2d594cf544e3e3e533.zip
Fix Span's behavior about new line.
TASK=TCAPI-2200 Change-Id: Ie261ccb4a7e6b51120e10c573e5e99e5c7a25f2b
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native')
-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>");
}
}