diff --git a/CHANGELOG.md b/CHANGELOG.md index 29a942c..9d68180 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,16 @@ ###Changelog + +####1.1.1 + +* Really fixed the problem this time. + ####1.1.0 + * Fixed problem with WordPress creating and
tags that are not XHTML compliant. ####1.0.0 + * Ensuring 4.x WP compatibility * Upgraded to ensure that social sharing plugins do not break feed to Amazon. diff --git a/README.md b/README.md index 6cc1374..6c33e91 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Tags: kindle, ebook, periodical, publisher, magazine, electronic, amazon Requires at least: 3.2.0 Tested up to: 4.1.0 - Stable Tag: 1.1.0 + Stable Tag: 1.1.1 License : GPLv2 or later License URI : http://www.gnu.org/licenses/gpl-2.0.html diff --git a/includes/KindleFeed.class.php b/includes/KindleFeed.class.php index 70b7c64..31145af 100644 --- a/includes/KindleFeed.class.php +++ b/includes/KindleFeed.class.php @@ -370,9 +370,10 @@ public function strip_content($data_str) { // Need to fix places where HTML and XHTML don't match // Thoughts from: http://syrkos.com/blog/2013/04/25/make-html-xhtml-compliant-without-tidy/ + // Helper: http://regexr.com/ public function fix_bad_xml($xml) { - $xml = preg_replace("/]+)\>/i", "", $xml); - $xml = preg_replace("/]*)\>/i", "
", $xml); + $xml = preg_replace("/\/]+)\>/i", "", $xml); + $xml = preg_replace("/\/]*)\>/i", "
", $xml); $replace = [' ' => '']; $xml = strtr($xml, $replace); return $xml; diff --git a/kindle-feed.php b/kindle-feed.php index 20021ff..ce00b84 100644 --- a/kindle-feed.php +++ b/kindle-feed.php @@ -3,7 +3,7 @@ Plugin Name: Kindle Periodical Manager Plugin URI: http://www.loudlever.com/wordpress-plugins/kindle-periodical-manager/ Description: Organize and format your 'Posts' as required by Amazon for Kindle for Periodicals. -Version: 1.1.0 +Version: 1.1.1 Author: Loudlever Author URI: http://www.loudlever.com diff --git a/readme.txt b/readme.txt index 88d72a7..a2801bb 100644 --- a/readme.txt +++ b/readme.txt @@ -38,7 +38,12 @@ If you have any questions not addressed here, [please email us](mailto:wordpress == Changelog == += 1.1.1 = + +* Really fixed the problem this time. + = 1.1.0 = + * Fixed problem with WordPress creating and
tags that are not XHTML compliant. = 1.0.0 =