I use the following for page title and I want to show n
number of white spaces after page title.
<data name="PageResource1.Title" xml:space="preserve">
<value>My Page Title </value>
</data>
But the spaces are rendered as a single space. :(
I can not use non-breakable space in resx file. I get following
You can't use
in an xml file as it's not a recognised entity. It's also content that's encoded into the xml file. The xml file needs to store the double encoded value.
You need to use either: &nbsp;
or <![CDATA[ ]]>
You should use
instead of white space.
<value>My Page Title ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With