Skip to content

[doc] Incorrect Spelling and Value for preserveWhitespaces in Advanced Configuration #57817

@waitingwittykitty

Description

@waitingwittykitty

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

  1. Ensure consistency in the spelling as preserveWhitespaces across all documentation references.
  2. Modify the section title from PreserveWhitespace to PreserveWhitespaces.
  3. Clearly state that the value for preserveWhitespaces should be true to 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsRelated to the documentationgood first issueAn issue that is suitable for first-time contributors; often a documentation issue.help wantedAn issue that is suitable for a community contributor (based on its complexity/scope).

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions