Browse Source

Cleanup

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
b185148117
  1. 17
      lib/defaults_typographer.js
  2. 4
      lib/rules_inline/state_inline.js

17
lib/defaults_typographer.js

@ -1,17 +0,0 @@
// Default typograph options
'use strict';
module.exports = {
singleQuotes: '‘’',
doubleQuotes: '“”', // «» - russian, „“ - deutch
copyright: true,
trademark: true,
registered: true,
plusminus: true,
paragraph: true,
ellipsis: true,
dupes: true,
emDashes: true
};

4
lib/rules_inline/state_inline.js

@ -23,11 +23,9 @@ function StateInline(src, parser, options, env) {
StateInline.prototype.pushPending = function () {
var pending = this.pending;
this.tokens.push({
type: 'text',
content: pending,
content: this.pending,
level: this.pendingLevel
});
this.pending = '';

Loading…
Cancel
Save