When editing html in vim, I'll write the class name of the section that I am working on like this:

    mid-med

It is untagged plain text.

I'll call tcomment to comment that out. What I expect to have happen is this:

    <!-- mid-med -->

Instead I get this:


    <!-- mid&#45;med -->

tcomment is converting the plain-text hyphen into html character code.

Is there anyway to prevent tcomment from doing this?

I searched "help:tcomment" but I couldn't find or make sense of anything.

I could just create the comment code first then type in the text but that's counter-intuitive and messing up my workflow.

Any help would be appreciated.