Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

combineDuplication with compileContent don't work together #88

Description

@amiram

If you set combineDuplication to true and compileContent to true, combination isn't working. The reason is that content is being compared by reference, which works for strings but not with the result of $sce.trustAsHtml.

Current code in provide.js:90
if (_msg.content === msg.content &&

Should be:
if (_msg.content.toString() === msg.content.toString() &&

Probably need to add a check for undefined (if it is possible).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions