-
Notifications
You must be signed in to change notification settings - Fork 27k
Description
Describe the problem that you experienced
In the Angular documentation, the property preserveWhitespaces is incorrectly spelled as preserveWhitespace. Additionally, the value is stated as false, while it should be true to properly preserve whitespaces in templates.
You can find the error in the PreserveWhitespace section of the Advanced Configuration guide at the following link: Advanced Configuration.
Incorrect Spelling: The property name should be consistently referred to as preserveWhitespaces instead of preserveWhitespace.
Incorrect Value: The value should be true instead of false to align with the intended behavior of preserving whitespace in component templates.
Enter the URL of the topic with the problem
https://angular.dev/guide/components/advanced-configuration#preservewhitespace
Describe what you were looking for in the documentation
No response
Describe the actions that led you to experience the problem
No response
Describe what you want to experience that would fix the problem
- Ensure consistency in the spelling as
preserveWhitespacesacross all documentation references. - Modify the section title from
PreserveWhitespacetoPreserveWhitespaces. - Clearly state that the value for
preserveWhitespacesshould betrueto keep whitespaces.
Add a screenshot if that helps illustrate the problem
No response
If this problem caused an exception or error, please paste it here
No response
If the problem is browser-specific, please specify the device, OS, browser, and version
No response
Provide any additional information here in as much as detail as you can
No response