summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-24 09:10:19 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-03-24 13:19:01 +0900
commitc97c6c2b8d007a4f2408d95c7825170182cc49c4 (patch)
treeb53dc9d1545d835591ed3738bfcba11f8bc13ad0
parent1b19da7053af39d37bbbfc9d8aeabf52876ac144 (diff)
downloadxamarin-forms-c97c6c2b8d007a4f2408d95c7825170182cc49c4.tar.gz
xamarin-forms-c97c6c2b8d007a4f2408d95c7825170182cc49c4.tar.bz2
xamarin-forms-c97c6c2b8d007a4f2408d95c7825170182cc49c4.zip
Fix Span's markup text tag
Change-Id: Ib667d444c4bfe4726298c3befde00d9f093ff107
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Span.cs2
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs2
2 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
index f0932f4b..4a5daf3c 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
@@ -137,7 +137,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
sb.Append(GetDecoratedText());
- sb.Append("</>");
+ sb.Append("</span>");
return sb.ToString();
}
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs
index 1fdd7fba..5aa8f780 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs
@@ -65,8 +65,6 @@ namespace Xamarin.Forms.Platform.Tizen
nativeSpan.VerticalTextAlignment = Control.VerticalTextAlignment;
nativeSpan.ForegroundColor = span.ForegroundColor.ToNative();
nativeSpan.BackgroundColor = span.BackgroundColor.ToNative();
-
-
nativeString.Spans.Add(nativeSpan);
}