Open extra topbar

HTML Comments

If you are new here, please see some information on how to ask for support. Thank you!

HTML Comments

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4326
    bigblue
    Participant

    Alex, trying to minimify the output html removing comments, but it seems that the echnge does not work correctly, it freezes and does not charge the data.

    Any recommendation on this?

    Thank you

    Best regards

    #4340
    alexg
    Keymaster

    Hello,

    Yes, unfortunately this is the case. Some of the knockout.js templates use HTML comments that have special semantics for the knockout framework. These are comments of the form <!-- ko: ... --> See for example “containerless control flow syntax” in https://knockoutjs.com/documentation/if-binding.html

    If you can filter out all comments besides the ones that start with ko: then you should be ok, but other than that, unfortunately the plugin relies on these.

    with regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.