From 00eee1b00aa05efa205639bf8f8a9c70363dae88 Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Thu, 16 Mar 2017 09:26:10 +0900 Subject: Fix Page.DisplayAlert's message format converting TASK=TCAPI-2218 - "\r\n" or Environment.NewLine is available. Change-Id: I4550f63060cdb6e794762f66c3ec1c6e491bfb65 --- Xamarin.Forms.Platform.Tizen/FormsApplication.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs index 57efa3f6..66467b7c 100644 --- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs +++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs @@ -166,11 +166,11 @@ namespace Xamarin.Forms.Platform.Tizen { Native.Dialog alert = new Native.Dialog(Forms.Context.MainWindow); alert.Title = arguments.Title; + var message = arguments.Message.Replace("&", "&").Replace("<", "<").Replace(">", ">").Replace(Environment.NewLine, "
"); var label = new ELabel(alert) { - Text = "" + arguments.Message + "<\\span>", + Text = "" + message + "<\\span>", }; - label.Show(); var box = new Box(alert); -- cgit v1.2.3