diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d68180..b47c0c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ###Changelog +####1.1.2 + +* Really, REALLY fixed the problem this time. + ####1.1.1 * Really fixed the problem this time. diff --git a/README.md b/README.md index 6c33e91..37625fe 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.1 + Stable Tag: 1.1.2 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 31145af..64a02fb 100644 --- a/includes/KindleFeed.class.php +++ b/includes/KindleFeed.class.php @@ -372,7 +372,9 @@ public function strip_content($data_str) { // 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); + // TODO: Need to get this to ignore tags that have the end and add to those that don't + // @link: http://stackoverflow.com/questions/8906503/preg-replace-to-put-forward-slash-in-img-tag + $xml = preg_replace("/]+)(?/is", "", $xml); $xml = preg_replace("/\/]*)\>/i", "
", $xml); $replace = [' ' => '']; $xml = strtr($xml, $replace); diff --git a/kindle-feed.php b/kindle-feed.php index ce00b84..dfac012 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.1 +Version: 1.1.2 Author: Loudlever Author URI: http://www.loudlever.com diff --git a/readme.txt b/readme.txt index a2801bb..db95806 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i 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.2 License : GPLv2 or later License URI : http://www.gnu.org/licenses/gpl-2.0.html @@ -38,6 +38,10 @@ If you have any questions not addressed here, [please email us](mailto:wordpress == Changelog == += 1.1.2 = + +* Really, REALLY fixed the problem this time. + = 1.1.1 = * Really fixed the problem this time.