Skip to content

Commit

Permalink
fix for php 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Oct 21, 2014
1 parent 11bb981 commit 9d84c8f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6,331 deletions.
4 changes: 3 additions & 1 deletion admin/editor-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
span = '<span class="diff" />',
cache = {};

Markdown.Extra.init(converter);
Markdown.Extra.init(converter, {
'extensions' : ["tables", "fenced_code_gfm", "def_list", "attr_list", "footnotes", "strikethrough", "newlines"]
});

// 自动跟随
converter.hooks.chain('postConversion', function (html) {
Expand Down
Loading

0 comments on commit 9d84c8f

Please sign in to comment.