xml:space="preserve" Does not work

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
Posts: 147
Joined: Thu Mar 16, 2017 5:40 am

xml:space="preserve" Does not work

Postby TaterJuice » Tue Sep 04, 2018 3:00 pm

When I use the following XAML in my CSHTML5 project, the whitespace is not preserved:

Code: Select all

<TextBlock xml:space="preserve" Text="     ABC     " />

This outputs "ABC", without preserving whitespace.

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests