gitbook-markdown
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -22,3 +22,4 @@ var _ = require('lodash'); | ||
var options = _.extend({}, kramed.defaults, { | ||
renderer: renderer | ||
renderer: renderer, | ||
escape: false | ||
}); | ||
@@ -25,0 +26,0 @@ |
{ | ||
"name": "gitbook-markdown", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://www.gitbook.com", | ||
@@ -5,0 +5,0 @@ "description": "Parse markdown content for gitbook", |
@@ -41,2 +41,9 @@ var fs = require('fs'); | ||
}); | ||
it('should escape codeblocks with nunjucks tags', function() { | ||
assert.equal( | ||
page.prepare('Hello {{ "Bonjour" }} ```test```'), | ||
'\nHello {{ "Bonjour" }} {% raw %}`test`{% endraw %}\n' | ||
); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18585
453