Merge pull request #1203 from UziTech/UziTech-patch-1

use default options in Renderer
This commit is contained in:
Steven 2018-04-05 09:14:10 -04:00 committed by GitHub
commit f4387f86eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -788,7 +788,7 @@ InlineLexer.prototype.mangle = function(text) {
*/
function Renderer(options) {
this.options = options || {};
this.options = options || marked.defaults;
}
Renderer.prototype.code = function(code, lang, escaped) {