dist/me-markdown.standalone.js
function Rules (options) {
  this.options = options;
  this._keep = [];
  this._remove = [];

  this.blankRule = {
    replacement: options.blankReplacement
  };

  this.keepReplacement = options.keepReplacement;

  this.defaultRule = {
    replacement: options.defaultReplacement
  };

  this.array = [];
  for (var key in options.rules) this.array.push(options.rules[key]);
}
function Rules (options) {
  this.options = options;
  this._keep = [];
  this._remove = [];

  this.blankRule = {
    replacement: options.blankReplacement
  };

  this.keepReplacement = options.keepReplacement;

  this.defaultRule = {
    replacement: options.defaultReplacement
  };

  this.array = [];
  for (var key in options.rules) this.array.push(options.rules[key]);
}
function Rules ( options ) { this . options = options ; this . _keep = [ ] ; this . _remove = [ ] ; this . blankRule = { replacement : options . blankReplacement } ; this . keepReplacement = options . keepReplacement ; this . defaultRule = { replacement : options . defaultReplacement } ; this . array = [ ] ; for ( var key in options . rules ) this . array . push ( options . rules [ key ] ) ; }
Manages a collection of rules used to convert HTML to Markdown
Manages a collection of rules used to convert HTML to Markdown