From cb8a01631933c991d84ccd01a59bfbfd459d30c2 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Thu, 28 Feb 2019 00:13:28 +0100
Subject: [PATCH] Bump the changelog

---
 CHANGELOG.md          | 7 +++++++
 doc/mat2.1            | 2 +-
 mat2                  | 2 +-
 setup.py              | 2 +-
 tests/test_libmat2.py | 2 +-
 5 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 799ae0b..1b53c98 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+# 0.8.0 - 2019-02-28
+
+- Add support for epub files
+- Fix the setup.py file crashing on non-utf8 platforms
+- Improve css support
+- Improve html support
+
 # 0.7.0 - 2019-02-17
 
 - Add support for wmv files
diff --git a/doc/mat2.1 b/doc/mat2.1
index 140533a..0546826 100644
--- a/doc/mat2.1
+++ b/doc/mat2.1
@@ -1,4 +1,4 @@
-.TH MAT2 "1" "February 2019" "MAT2 0.7.0" "User Commands"
+.TH MAT2 "1" "February 2019" "MAT2 0.8.0" "User Commands"
 
 .SH NAME
 mat2 \- the metadata anonymisation toolkit 2
diff --git a/mat2 b/mat2
index bd77ac3..4f4f0db 100755
--- a/mat2
+++ b/mat2
@@ -15,7 +15,7 @@ except ValueError as e:
     print(e)
     sys.exit(1)
 
-__version__ = '0.7.0'
+__version__ = '0.8.0'
 
 # Make pyflakes happy
 assert Tuple
diff --git a/setup.py b/setup.py
index 8934ce2..3be8ccb 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", encoding='utf-8') as fh:
 
 setuptools.setup(
     name="mat2",
-    version='0.7.0',
+    version='0.8.0',
     author="Julien (jvoisin) Voisin",
     author_email="julien.voisin+mat2@dustri.org",
     description="A handy tool to trash your metadata",
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py
index 46e234e..250b5ec 100644
--- a/tests/test_libmat2.py
+++ b/tests/test_libmat2.py
@@ -652,7 +652,7 @@ class TestCleaning(unittest.TestCase):
         os.remove('./tests/data/clean.cleaned.html')
 
         with open('./tests/data/clean.html', 'w') as f:
-            f.write('<meta><meta/></meta>')
+            f.write('<meta><meta/><!----><!-- test--></meta>')
         p = web.HTMLParser('./tests/data/clean.html')
         self.assertTrue(p.remove_all())
         with open('./tests/data/clean.cleaned.html', 'r') as f:
-- 
GitLab