nanomorph
nanomorph copied to clipboard
Comments are un-commented
It's late at night, so I'll keep this short.
I'm making a framework that uses nanomorph heavily. I've just been playing with it, and I realized that comments are uncommented, meaning the <!-- and --> are removed. This is a bit annoying when debugging my app. Not urgent, but just letting you know it's there.
@def0x099 can you clarify exactly what's happening, and maybe include some example code? Chances are you aren't using nanomorph in isolation, so it could be how you are building your DOM that is causing the issue.
Doing <!-- ${somevalue} abc --> could cause "abc" to end up in the html. it has recently been fixed in nanohtml. may that have been the cause?
Might be. This needs a repro tho.
Sounds related to https://github.com/choojs/nanomorph/pull/122