Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Phone data is not properly escaped #185

Closed
@Narretz

Description

@Narretz

Moved from: #7362, as reported by @Sjlver

In step 8 of the AngularJS tutorial, a view is added to display phone information, such as carriers. This data is displayed incorrectly, for example in #/phones/motorola-atrix-4g

Availability
AT&T

The source of this problem seems to be that the JSON data itself contains the string AT&T whereas it should probably just contain AT&T, and leave the escaping to the frontend.

It might be worth discussing as part of the tutorial that AngularJS performs automatic filtering, so it's safe to pass data that contains ampersands, quotes, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions