Emmet in <script type="text/template"

Coding a website with Django+Backbone.js. I have a file with extension .html and some javascript templates in them:

    <script type="text/template" id="tpl-choose-allele-count-filter">
        <h3>html content</h3>
        <p>goes here</p>
    </script>

Recently Emmet stopped working within those script tags - but it still works outside them in the same file. Is there a way to activate it without refactoring?
3 comments
Hi Brett,
do you have Javascript in template file type list in Settings | Python Template Languages
0
Hi Dmitry –

I did not, but I just added it and no change.

This is an .html file, which contains javascript templates, which contain html.

I suppose I could refactor so the <script> tags are in a different file than the inner HTML content, but would be pretty frustrating since it worked a couple weeks ago...

Thanks for your help –
Brett
0
I've create an issue for that: http://youtrack.jetbrains.com/issue/PY-11383

Could you please add there a comment with details about what exactly you're trying to achieve.
0

Please sign in to leave a comment.