Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz authored and ylatuya committed Sep 26, 2018
1 parent 76ec4c9 commit 18da2da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Xamarin.Forms.Platform.GTK/Extensions/LabelExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Pango;
using System.Security;
using System.Text;
using Xamarin.Forms.Platform.GTK.Helpers;

Expand Down Expand Up @@ -63,8 +64,8 @@ private static string GenerateMarkupText(Span span)

builder.Append(">"); // Complete opening span tag

// Text
builder.Append(span.Text);
// Text
builder.Append(SecurityElement.Escape(span.Text));
builder.Append("</span>");

return builder.ToString();
Expand Down

0 comments on commit 18da2da

Please sign in to comment.