summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native/Span.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Span.cs')
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Native/Span.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
index c92fefcf..f0932f4b 100755..100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
@@ -1,3 +1,4 @@
+using System;
using System.Text;
using EColor = ElmSharp.Color;
@@ -272,7 +273,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
{
return text.Replace("<", "&lt;")
.Replace(">", "&gt;")
- .Replace("\n", "<br>");
+ .Replace(Environment.NewLine, "<br>");
}
public string GetStyle()