update
This commit is contained in:
parent
298d3b2e2e
commit
1ae3220039
4 changed files with 12 additions and 4 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit e33ac1c56ea591f21b9cf2fa74356ef708d4e130
|
Subproject commit bb7a3f41e301a026055eded020ba061a67d3cadd
|
|
@ -1 +1 @@
|
||||||
Subproject commit bcd3930f7f10915e40513e1951a253f061d75463
|
Subproject commit 910f726ab6c92ba24e5579f57507c7197d09a159
|
|
@ -4,7 +4,7 @@ Donate link:
|
||||||
Tags: markdown, editor, parsedown
|
Tags: markdown, editor, parsedown
|
||||||
Requires at least: 3.0
|
Requires at least: 3.0
|
||||||
Tested up to: 4.0
|
Tested up to: 4.0
|
||||||
Stable tag: 0.1.1
|
Stable tag: 0.2
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
|
@ -22,6 +22,12 @@ Parse the_content with [Parsedown Extra](http://www.parsedown.org/demo?extra=1)
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 0.2 =
|
||||||
|
*2014-09-23*
|
||||||
|
|
||||||
|
* added removal of wpautop filters; they are not needed when Parsedown is doing it's job
|
||||||
|
* updated parsedown libs
|
||||||
|
|
||||||
= 0.1.1 =
|
= 0.1.1 =
|
||||||
*2014-09-06*
|
*2014-09-06*
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
Plugin Name: WP-Parsedown
|
Plugin Name: WP-Parsedown
|
||||||
Plugin URI: https://github.com/petermolnar/wp-parsedown
|
Plugin URI: https://github.com/petermolnar/wp-parsedown
|
||||||
Description: [Parsedown Extra](www.parsedown.org/demo?extra=1) on-the-fly
|
Description: [Parsedown Extra](www.parsedown.org/demo?extra=1) on-the-fly
|
||||||
Version: 0.1.1
|
Version: 0.2
|
||||||
Author: Peter Molnar <hello@petermolnar.eu>
|
Author: Peter Molnar <hello@petermolnar.eu>
|
||||||
Author URI: https://petermolnar.eu/
|
Author URI: https://petermolnar.eu/
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
|
@ -56,6 +56,8 @@ class WP_PARSEDOWN extends PluginAbstract {
|
||||||
/* display markdown */
|
/* display markdown */
|
||||||
add_filter( 'the_content', array(&$this, 'markdown_on_the_fly'), 9 );
|
add_filter( 'the_content', array(&$this, 'markdown_on_the_fly'), 9 );
|
||||||
|
|
||||||
|
remove_filter( 'the_content', 'wpautop' );
|
||||||
|
remove_filter( 'the_excerpt', 'wpautop' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue