-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[XamlIl] Preserve whitspace #2619
Labels
Comments
any updates? workarounds? |
If anyone will face this problem, here's little trick to force whitespace preserving: use
Result: |
XAML specification for white space: https://docs.microsoft.com/en-us/dotnet/desktop/xaml-services/white-space-processing Avalonia also doesn't collapse white space in WPF like WPF does. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need a way to preserve whitespaces if needed to be able to define inlines in XAML
If we have something like this:
We need to preserve whitespaces. Portable.Xaml was patched to support this by decorating the InlinesCollection with a special attribute.
This is the current result:
Can be tested with: #2423
The text was updated successfully, but these errors were encountered: