test code block <!-- begin snippet: js hide: false --> <!-- language: lang-html --> test code snippet <!-- end snippet --> seems to work fine for me. however, 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 --> <!-- language: lang-html --> test code snippet I wouldn't call this a bug, just incorrect usage of the code snippet tool. There's really nothing to fix.