summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-01-23 08:57:31 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-01-23 08:57:31 (GMT)
commitaa1b56afe4660665d223709646c915fa659ff5fa (patch)
tree6663ad95a634908bdf68dd89e5b482cbe02e2267
parentd974cecbd8457a88966395a8fa6f9e0f24ec1be8 (diff)
parent6c9adb0679953190eca8795cb67bfce53c4fd012 (diff)
downloadxamarin-forms-aa1b56afe4660665d223709646c915fa659ff5fa.zip
xamarin-forms-aa1b56afe4660665d223709646c915fa659ff5fa.tar.gz
xamarin-forms-aa1b56afe4660665d223709646c915fa659ff5fa.tar.bz2
Merge "Fix Span's behavior about new line." into tizen
-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 f782efd..da3d146 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>");
}
}