1

I posted a question that has this code

<input type="text" v-model="myVar" @keyup.enter="doFilter" />
<button class="md-icon-button md-raised md-accent md-dense" @click="doFilter">Filter</button>

and it does not work unless I add in this

<!-- language: lang-html -->

Is that a bug?

Update 1: Example of code section not working

Here is the exact 2 lines from above, without the syntax highlighting hint

Filter

I cannot reproduce it when I indent the code here. Is there a stackoverflow sandbox where I can create a test question?

marked as duplicate by Shadow, rene, Glorfindel, Cai, animuson bug Nov 7 '17 at 17:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.