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

$sce.trustAsHtml() rejects data-* attributes #11034

Open
@mondalaci

Description

@mondalaci

Apparently, $sce.trustAsHtml() rejects the HTML data-* attributes that are present in the HTML string to be used. Correct me if I'm wrong but I think that data-* attributes are legit and this is a buggy behavior.

Angular 1.3.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions