Browse Source

Fixed linkify option

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
105a06ceca
  1. 2
      benchmark/implementations/current/index.js
  2. 2
      lib/typographer.js

2
benchmark/implementations/current/index.js

@ -3,7 +3,7 @@
var Remarkable = require('../../../');
var md = new Remarkable({
html: true,
linkify: true,
linkify: false,
typographer: true
});

2
lib/typographer.js

@ -45,8 +45,6 @@ Typographer.prototype.set = function (options) {
Typographer.prototype.process = function (state) {
var i, l, rules;
if (!state.options.typographer) { return; }
rules = this._rules;
for (i = 0, l = rules.length; i < l; i++) {

Loading…
Cancel
Save