Page 1 of 1

xml:space="preserve" Does not work

Posted: Tue Sep 04, 2018 3:00 pm
by TaterJuice
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.