nodejitsu / docs

Community powered rocket fuel for node.js
http://docs.nodejitsu.com
Other
194 stars 84 forks source link

Ampersands not displayed correctly #76

Open leesei opened 11 years ago

leesei commented 11 years ago

In http://docs.nodejitsu.com/articles/javascript-conventions/what-are-truthy-and-falsy-values, The ampersands are displayed as HTML entities:

var myvalue = first && second;

The preview of the contend.md is correct though. https://github.com/nodejitsu/docs/edit/master/pages/articles/javascript-conventions/what-are-truthy-and-falsy-values/content.md

Is this a bug of the syntax highlighter? Extra classes are added to the string &.

colinhoernig commented 10 years ago

I noticed this as well while browsing the Cryptography page. As stated, the preview of the document in GitHub is correct, but the rendering in docs displays the ampersands as HTML entities.

...
if (argv.e && argv.password) {
...