Putting some jQuery in a snippet breaks the snippet

o_O fa 7 anys 0

To reproduce:

Save a snippet with "$(function(){})" as complete with tab trigger.


Typing your trigger and pressing tab just deletes your trigger. I.e myJsSnippet + tab will delete myJsSnippet. 

Expected result:

The tab trigger should be replaced with "$(function(){})"