summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/FormsApplication.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/FormsApplication.cs4
1 files 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("&", "&amp;").Replace("<", "&lt;").Replace(">", "&gt;").Replace(Environment.NewLine, "<br>");
var label = new ELabel(alert)
{
- Text = "<span font_size=30 color=#000000>" + arguments.Message + "<\\span>",
+ Text = "<span font_size=30 color=#000000>" + message + "<\\span>",
};
-
label.Show();
var box = new Box(alert);