Skip to main content
edited tags
Link
Shog9
  • 159.4k
  • 177
  • 1.2k
  • 1.2k
Source Link

Console broken in old snippets

This is regarding an answer I posted long long ago, so long ago: Answer: Split string into sentences.

When we try adding a snippet, by default, the comment looks like this:

<!-- begin snippet: js hide: false console: true babel: false -->

But for those written long back (see Answer: Split string into sentences), the snippet has only the following:

<!-- begin snippet: js hide: false -->

This is not backward compatible as, by default, the console is not shown, thereby, breaking my previous answers, rendering nothing in the preview, where I expect the console be shown.

Can this be fixed?