Insert code tag for server-side syntax highlighting
authorNathan Youngman <git@nathany.com>
Wed, 14 Oct 2015 21:10:50 +0000 (15:10 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 15 Oct 2015 15:59:28 +0000 (17:59 +0200)
commitec9c6912163f9ca3c10ad75aba939a76ec96e932
treefc0499b6d57d51ceac1a3a336af1b326ce0b05f9
parent6a3aced15a402183b7c92817a259c44d890cf7be
Insert code tag for server-side syntax highlighting

Inserts a code tag into Pygments output with the language-info that is present when using client-side highlighting (useful for CSS hooks)

```html
<code class="language-go" data-lang="go">
```

closes #1490
helpers/content_renderer_test.go
helpers/pygments.go