Skip to content

Knockout throws an error if it finds an unmatched closing virtual element (<!--/ko-->). This feature breaks old HTML pages in our system. #2582

@slavbar

Description

@slavbar

Hi,
taking into account the Knockout 3.5.0 has been released changing its minor number of semver, it shouldn't break old code.
Yet we have old HTML pages which have unmatched <-- /ko --> tags.
The code starting crashing as KO throws an error.

For some reasons we are not able to update the code of the old HTML pages.
How could we disable that feature in order to keep compatibility with old pages?

image

CC @mbest

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions