escape html tags if lang has 'html'

I have some JSX files I want to embed on my blog, and I need to html encode the source. I think this is the easiest way to make it possible.

PS: I tried running the grunt task, but kept getting errors, so I'm just sending the source file edit.