Revert overwrite hardbreak rule because built-in rule is correct

This commit is contained in:
Wu Cheng-Han 2016-01-17 11:53:34 -06:00
parent 3fdceaaf06
commit bdc064fb79

View file

@ -677,9 +677,6 @@ md.renderer.rules.list_item_open = function ( /* tokens, idx, options, env */ )
md.renderer.rules.blockquote_open = function (tokens, idx /*, options, env */ ) {
return '<blockquote class="raw">\n';
};
md.renderer.rules.hardbreak = function (tokens, idx, options /*, env */ ) {
return md.options.xhtmlOut ? '<br /><br />' : '<br><br>';
};
md.renderer.rules.fence = function (tokens, idx, options, env, self) {
var token = tokens[idx];
var langClass = '';