test code block
test code snippet
seems to work fine for me. howeverHowever, I can forcibly recreate the issue by indenting the begin snippet comment and removing the end snippet comment.
test code block
<!-- begin snippet: js hide: false -->
test code snippet
I wouldn't call this a bug, just incorrect usage of the code snippet tool. There's really nothing to fix.