mirror of
https://github.com/markedjs/marked
synced 2024-11-23 01:38:57 +00:00
Merge pull request #1203 from UziTech/UziTech-patch-1
use default options in Renderer
This commit is contained in:
commit
f4387f86eb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user