I paste in the snippet:
3 backticks "html"
some html source with script tags
Instead of escaping the html, it puts it in the editor unescaped and gets parsed as HTML and the script loads and it just so happens that it breaks the loading sequence of dillinger, so its all saved instantly in a local cache (i presume), so upon refresh dillinger.io is irreversibly completely broken.
Escaping all HTML would solve this 😄
Interesting bug in showdown.js, the client side markdown rendering library. If the library marked solves this, then let's switch. Can you verify marked and/or showdown can fix this? It is not dillinger specific.
I suppose. Fork it and give it a try!
Fixed with marked library.