knockout / knockout

Knockout makes it easier to create rich, responsive UIs with JavaScript
http://knockoutjs.com/
Other
10.43k stars 1.52k forks source link

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

Open AlexMelw opened 2 years ago

AlexMelw commented 2 years ago

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

mbest commented 1 year ago

Perhaps we should only output this as an error in debug mode.

kanoshin commented 3 months ago

@mbest hey, thanks for working on supporting the Knockout. Would you happen to have any updates about the 3.5.2 release?