Closed mikilion closed 8 years ago
@mikilion - I'm thinking about the best way to work around this as there may be other JavaScript tools that require similar style comments. I am thinking of adding an ignoreHtmlComments flag - would this work for your issue?
@deanhume - Ignoring custom comments option by regular expression is a good idea.
This has been fixed with the latest commit and will go out as part of Release 1.8
The "ignoreknockoutcomments" argument doesn't work on 1.9 version.
I tried to modify following regular expression:
<!--(?!\[)(?!ko .*)(?!\/ko)(.*?)-->
to this:
<!--(?!ko .*)(?!\/ko)-->
at line 164 of the class "StreamReaderExtension".
Awaiting your feed back
The "Knockout" containerless control flow syntax should not be removed from the page.