diff options
author | Wu Cheng-Han | 2016-01-17 11:53:34 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2016-01-17 11:53:34 -0600 |
commit | bdc064fb79658df0cc4db6fa0b66719503e0927a (patch) | |
tree | b79762f8f3c94f43c6fbdb59938db9b278831b42 | |
parent | 3fdceaaf06e2b1bba6a27ee2ee038d0278f414a7 (diff) |
Revert overwrite hardbreak rule because built-in rule is correct
-rw-r--r-- | public/js/extra.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index e6f90b68..6711fa2e 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -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 = ''; |