Fix Span's behavior about new line.
authorKangho Hur <kangho.hur@samsung.com>
Mon, 23 Jan 2017 08:33:14 +0000 (17:33 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 24 Apr 2017 04:36:51 +0000 (13:36 +0900)
TASK=TCAPI-2200

Change-Id: Ie261ccb4a7e6b51120e10c573e5e99e5c7a25f2b

Xamarin.Forms.Platform.Tizen/Native/FormattedString.cs

index f782efd..da3d146 100644 (file)
@@ -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>");
                        }
                }