Hello community,

here is the log from the commit of package python3-html2text for 
openSUSE:Factory checked in at 2016-01-20 09:55:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old)
 and      /work/SRC/openSUSE:Factory/.python3-html2text.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-html2text"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes      
2015-11-08 11:26:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 
2016-01-20 09:55:11.000000000 +0100
@@ -1,0 +2,12 @@
+Sun Jan 17 00:04:08 UTC 2016 - [email protected]
+
+- specfile:
+  * update copyright year
+
+- update to version 2016.1.8:
+  * Feature #99: Removed duplicated initialisation.
+  * Fix #100: Get element style key error.
+  * Fix #101: Fix error end tag pop exception
+  * <s>, <strike>, <del> now rendered as ~~text~~.
+
+-------------------------------------------------------------------

Old:
----
  html2text-2015.11.4.tar.gz

New:
----
  html2text-2016.1.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-html2text.spec ++++++
--- /var/tmp/diff_new_pack.hQFr1W/_old  2016-01-20 09:55:12.000000000 +0100
+++ /var/tmp/diff_new_pack.hQFr1W/_new  2016-01-20 09:55:12.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-html2text
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           python3-html2text
-Version:        2015.11.4
+Version:        2016.1.8
 Release:        0
 Url:            https://github.com/Alir3z4/html2text/
 Summary:        Turn HTML into equivalent Markdown-structured text

++++++ html2text-2015.11.4.tar.gz -> html2text-2016.1.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html2text-2015.11.4/ChangeLog.rst 
new/html2text-2016.1.8/ChangeLog.rst
--- old/html2text-2015.11.4/ChangeLog.rst       2015-11-04 15:48:46.000000000 
+0100
+++ new/html2text-2016.1.8/ChangeLog.rst        2016-01-08 17:35:35.000000000 
+0100
@@ -1,3 +1,13 @@
+2016.1.8
+=========
+----
+
+* Feature #99: Removed duplicated initialisation.
+* Fix #100: Get element style key error.
+* Fix #101: Fix error end tag pop exception
+* <s>, <strike>, <del> now rendered as ~~text~~.
+
+
 2015.11.4
 =========
 ----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html2text-2015.11.4/PKG-INFO 
new/html2text-2016.1.8/PKG-INFO
--- old/html2text-2015.11.4/PKG-INFO    2015-11-04 16:23:02.000000000 +0100
+++ new/html2text-2016.1.8/PKG-INFO     2016-01-08 17:40:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: html2text
-Version: 2015.11.4
+Version: 2016.1.8
 Summary: Turn HTML into equivalent Markdown-structured text.
 Home-page: https://github.com/Alir3z4/html2text/
 Author: Alireza Savand
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html2text-2015.11.4/html2text/__init__.py 
new/html2text-2016.1.8/html2text/__init__.py
--- old/html2text-2015.11.4/html2text/__init__.py       2015-11-04 
15:48:14.000000000 +0100
+++ new/html2text-2016.1.8/html2text/__init__.py        2016-01-08 
17:39:25.000000000 +0100
@@ -29,7 +29,7 @@
     skipwrap
 )
 
-__version__ = (2015, 11, 4)
+__version__ = (2016, 1, 8)
 
 
 # TODO:
@@ -72,8 +72,6 @@
         self.use_automatic_links = config.USE_AUTOMATIC_LINKS  # covered in cli
         self.hide_strikethrough = False  # covered in cli
         self.mark_code = config.MARK_CODE
-        self.single_line_break = config.SINGLE_LINE_BREAK
-        self.use_automatic_links = config.USE_AUTOMATIC_LINKS
         self.wrap_links = config.WRAP_LINKS  # covered in cli
         self.tag_callback = None
 
@@ -306,7 +304,7 @@
                 tag_style = element_style(attrs, self.style_def, parent_style)
                 self.tag_stack.append((tag, attrs, tag_style))
             else:
-                dummy, attrs, tag_style = self.tag_stack.pop()
+                dummy, attrs, tag_style = self.tag_stack.pop() if 
self.tag_stack else (None, {}, {})
                 if self.tag_stack:
                     parent_style = self.tag_stack[-1][2]
 
@@ -367,9 +365,9 @@
             self.o(self.strong_mark)
         if tag in ['del', 'strike', 's']:
             if start:
-                self.o("<" + tag + ">")
+                self.o('~~')
             else:
-                self.o("</" + tag + ">")
+                self.o('~~')
 
         if self.google_doc:
             if not self.inheader:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html2text-2015.11.4/html2text/utils.py 
new/html2text-2016.1.8/html2text/utils.py
--- old/html2text-2015.11.4/html2text/utils.py  2015-11-04 15:32:38.000000000 
+0100
+++ new/html2text-2016.1.8/html2text/utils.py   2016-01-08 17:31:01.000000000 
+0100
@@ -80,7 +80,7 @@
     style = parent_style.copy()
     if 'class' in attrs:
         for css_class in attrs['class'].split():
-            css_style = style_def['.' + css_class]
+            css_style = style_def.get('.' + css_class, {})
             style.update(css_style)
     if 'style' in attrs:
         immediate_style = dumb_property_dict(attrs['style'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html2text-2015.11.4/html2text.egg-info/PKG-INFO 
new/html2text-2016.1.8/html2text.egg-info/PKG-INFO
--- old/html2text-2015.11.4/html2text.egg-info/PKG-INFO 2015-11-04 
16:23:02.000000000 +0100
+++ new/html2text-2016.1.8/html2text.egg-info/PKG-INFO  2016-01-08 
17:39:59.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: html2text
-Version: 2015.11.4
+Version: 2016.1.8
 Summary: Turn HTML into equivalent Markdown-structured text.
 Home-page: https://github.com/Alir3z4/html2text/
 Author: Alireza Savand
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html2text-2015.11.4/test/decript_tage.md 
new/html2text-2016.1.8/test/decript_tage.md
--- old/html2text-2015.11.4/test/decript_tage.md        2015-11-04 
15:32:38.000000000 +0100
+++ new/html2text-2016.1.8/test/decript_tage.md 2016-01-08 17:31:01.000000000 
+0100
@@ -1,2 +1,2 @@
-<del>something</del> <strike>something</strike> <s>something</s>
+~~something~~ ~~something~~ ~~something~~
 


Reply via email to