Repository: Colin-b/keepachangelog

Issue:
parse category entries
Ciao, I'd like to share a thought w/ you. Given the problem domain I think stripping the leading `- ` in category entries could be the right thing to do, you already assert an entry is an entry by placing it in relevant section after all.

That could be a future-proof evolution of the lib (eg. tomorrow KAC choose to use `*` instead of `-`) that could even keep it as a valuable resource should someone decide to implement a transcoding app.

And btw, I'm totally in a total [rust reimplementation](https://github.com/aogier/keep-a-changelog), getting faster speed by two order of magnitude. Do you like rust? I do like it, I'm still learning but so far so good!

ciao

Discussion:

Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d694d84..6f721e2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [0.3.0] - 2020-03-01
+### Changed
+- Information is now stored without star, space or caret at start or end of line.
+
 ## [0.2.0] - 2020-02-24
 ### Added
 - It is now possible to retrieve "Unreleased" information thanks to the `show_unreleased` parameter. (Thanks [Alessandro Ogier](https://github.com/aogier))
@@ -18,7 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 - Initial release.
 
-[Unreleased]: https://github.com/Colin-b/keepachangelog/compare/v0.2.0...HEAD
+[Unreleased]: https://github.com/Colin-b/keepachangelog/compare/v0.3.0...HEAD
+[0.3.0]: https://github.com/Colin-b/keepachangelog/compare/v0.2.0...v0.3.0
 [0.2.0]: https://github.com/Colin-b/keepachangelog/compare/v0.1.0...v0.2.0
 [0.1.0]: https://github.com/Colin-b/keepachangelog/compare/v0.0.1...v0.1.0
 [0.0.1]: https://github.com/Colin-b/keepachangelog/releases/tag/v0.0.1
diff --git a/README.md b/README.md
index ba23a57..491adfb 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
 <a href="https://travis-ci.org/Colin-b/keepachangelog"><img alt="Build status" src="https://api.travis-ci.org/Colin-b/keepachangelog.svg?branch=master"></a>
 <a href="https://travis-ci.org/Colin-b/keepachangelog"><img alt="Coverage" src="https://img.shields.io/badge/coverage-100%25-brightgreen"></a>
 <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
-<a href="https://travis-ci.org/Colin-b/keepachangelog"><img alt="Number of tests" src="https://img.shields.io/badge/tests-11 passed-blue"></a>
+<a href="https://travis-ci.org/Colin-b/keepachangelog"><img alt="Number of tests" src="https://img.shields.io/badge/tests-12 passed-blue"></a>
 <a href="https://pypi.org/project/keepachangelog/"><img alt="Number of downloads" src="https://img.shields.io/pypi/dm/keepachangelog"></a>
 </p>
 
@@ -23,26 +23,26 @@ changes = keepachangelog.to_dict("path/to/CHANGELOG.md")
 changes = {
     "1.1.0": {
         "changed": [
-            "- Enhancement 1 (1.1.0)",
-            "- sub enhancement 1",
-            "- sub enhancement 2",
-            "- Enhancement 2 (1.1.0)",
+            "Enhancement 1 (1.1.0)",
+            "sub enhancement 1",
+            "sub enhancement 2",
+            "Enhancement 2 (1.1.0)",
         ],
         "release_date": "2018-05-31",
         "version": "1.1.0",
     },
     "1.0.1": {
         "fixed": [
-            "- Bug fix 1 (1.0.1)",
-            "- sub bug 1",
-            "- sub bug 2",
-            "- Bug fix 2 (1.0.1)",
+            "Bug fix 1 (1.0.1)",
+            "sub bug 1",
+            "sub bug 2",
+            "Bug fix 2 (1.0.1)",
         ],
         "release_date": "2018-05-31",
         "version": "1.0.1",
     },
     "1.0.0": {
-        "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+        "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
         "release_date": "2017-04-10",
         "version": "1.0.0",
     },
@@ -65,14 +65,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Added
 - Enhancement 1
-- sub enhancement 1
-- sub enhancement 2
+ - sub enhancement 1
+ - sub enhancement 2
 - Enhancement 2
 
 ### Fixed
 - Bug fix 1
-- sub bug 1
-- sub bug 2
+ - sub bug 1
+ - sub bug 2
 - Bug fix 2
 
 ### Security
@@ -90,15 +90,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ## [1.1.0] - 2018-05-31
 ### Changed
 - Enhancement 1 (1.1.0)
-- sub enhancement 1
-- sub enhancement 2
+ - sub enhancement 1
+ - sub enhancement 2
 - Enhancement 2 (1.1.0)
 
 ## [1.0.1] - 2018-05-31
 ### Fixed
 - Bug fix 1 (1.0.1)
-- sub bug 1
-- sub bug 2
+ - sub bug 1
+ - sub bug 2
 - Bug fix 2 (1.0.1)
 
 ## [1.0.0] - 2017-04-10
diff --git a/keepachangelog/_changelog.py b/keepachangelog/_changelog.py
index 759a625..b813beb 100644
--- a/keepachangelog/_changelog.py
+++ b/keepachangelog/_changelog.py
@@ -47,7 +47,7 @@ def is_information(line: str) -> bool:
 
 
 def add_information(category: List[str], line: str):
-    category.append(line)
+    category.append(line.strip(" *-"))
 
 
 def to_dict(changelog_path: str, *, show_unreleased: bool = False) -> Dict[str, dict]:
diff --git a/keepachangelog/version.py b/keepachangelog/version.py
index 03431df..e2e359f 100644
--- a/keepachangelog/version.py
+++ b/keepachangelog/version.py
@@ -3,4 +3,4 @@
 # Major should be incremented in case there is a breaking change. (eg: 2.5.8 -> 3.0.0)
 # Minor should be incremented in case there is an enhancement. (eg: 2.5.8 -> 2.6.0)
 # Patch should be incremented in case there is a bug fix. (eg: 2.5.8 -> 2.5.9)
-__version__ = "0.2.0"
+__version__ = "0.3.0"


Test patch:
diff --git a/tests/test_changelog.py b/tests/test_changelog.py
index 34e6bbb..798fbaa 100644
--- a/tests/test_changelog.py
+++ b/tests/test_changelog.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Changed
 - Release note 1.
 - Release note 2.
@@ -76,28 +78,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_all_categories(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "added": [
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
+            ],
+            "changed": ["Release note 1.", "Release note 2."],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "release_date": "2018-06-01",
+            "removed": ["Deprecated feature 2", "Future removal 1"],
+            "security": ["Known issue 1", "Known issue 2"],
+            "version": "1.2.0",
+        },
         "1.1.0": {
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
             "release_date": "2018-05-31",
             "version": "1.1.0",
         },
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
         },
         "1.0.0": {
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
             "release_date": "2017-04-10",
             "version": "1.0.0",
         },
diff --git a/tests/test_changelog_no_added.py b/tests/test_changelog_no_added.py
index 69d09de..05726ac 100644
--- a/tests/test_changelog_no_added.py
+++ b/tests/test_changelog_no_added.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Changed
 - Release note 1.
 - Release note 2.
@@ -65,28 +67,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_no_added(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "changed": ["Release note 1.", "Release note 2."],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "release_date": "2018-06-01",
+            "removed": ["Deprecated feature 2", "Future removal 1"],
+            "security": ["Known issue 1", "Known issue 2"],
+            "version": "1.2.0",
+        },
         "1.1.0": {
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
             "release_date": "2018-05-31",
             "version": "1.1.0",
         },
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
         },
         "1.0.0": {
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
             "release_date": "2017-04-10",
             "version": "1.0.0",
         },
diff --git a/tests/test_changelog_no_changed.py b/tests/test_changelog_no_changed.py
index 4d19407..2a77605 100644
--- a/tests/test_changelog_no_changed.py
+++ b/tests/test_changelog_no_changed.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Added
 - Enhancement 1
 - sub enhancement 1
@@ -62,19 +64,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_no_changed(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "added": [
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
+            ],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "release_date": "2018-06-01",
+            "removed": ["Deprecated feature 2", "Future removal 1"],
+            "security": ["Known issue 1", "Known issue 2"],
+            "version": "1.2.0",
+        },
         "1.1.0": {"release_date": "2018-05-31", "version": "1.1.0"},
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
         },
         "1.0.0": {
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
             "release_date": "2017-04-10",
             "version": "1.0.0",
         },
diff --git a/tests/test_changelog_no_deprecated.py b/tests/test_changelog_no_deprecated.py
index 119b723..fb1f27e 100644
--- a/tests/test_changelog_no_deprecated.py
+++ b/tests/test_changelog_no_deprecated.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Changed
 - Release note 1.
 - Release note 2.
@@ -64,22 +66,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_no_deprecated(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "added": [
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
+            ],
+            "changed": ["Release note 1.", "Release note 2."],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "release_date": "2018-06-01",
+            "removed": ["Deprecated feature 2", "Future removal 1"],
+            "security": ["Known issue 1", "Known issue 2"],
+            "version": "1.2.0",
+        },
         "1.1.0": {
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
             "release_date": "2018-05-31",
             "version": "1.1.0",
         },
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
diff --git a/tests/test_changelog_no_fixed.py b/tests/test_changelog_no_fixed.py
index 162168a..cae056e 100644
--- a/tests/test_changelog_no_fixed.py
+++ b/tests/test_changelog_no_fixed.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Changed
 - Release note 1.
 - Release note 2.
@@ -28,12 +30,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - sub enhancement 2
 - Enhancement 2
 
-### Fixed
-- Bug fix 1
-- sub bug 1
-- sub bug 2
-- Bug fix 2
-
 ### Security
 - Known issue 1
 - Known issue 2
@@ -71,28 +67,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_no_fixed(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "added": [
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
+            ],
+            "changed": ["Release note 1.", "Release note 2."],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "release_date": "2018-06-01",
+            "removed": ["Deprecated feature 2", "Future removal 1"],
+            "security": ["Known issue 1", "Known issue 2"],
+            "version": "1.2.0",
+        },
         "1.1.0": {
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
             "release_date": "2018-05-31",
             "version": "1.1.0",
         },
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
         },
         "1.0.0": {
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
             "release_date": "2017-04-10",
             "version": "1.0.0",
         },
diff --git a/tests/test_changelog_no_removed.py b/tests/test_changelog_no_removed.py
index 21c0698..dc97af2 100644
--- a/tests/test_changelog_no_removed.py
+++ b/tests/test_changelog_no_removed.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Changed
 - Release note 1.
 - Release note 2.
@@ -67,28 +69,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_no_removed(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "added": [
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
+            ],
+            "changed": ["Release note 1.", "Release note 2."],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "release_date": "2018-06-01",
+            "security": ["Known issue 1", "Known issue 2"],
+            "version": "1.2.0",
+        },
         "1.1.0": {
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
             "release_date": "2018-05-31",
             "version": "1.1.0",
         },
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
         },
         "1.0.0": {
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
             "release_date": "2017-04-10",
             "version": "1.0.0",
         },
diff --git a/tests/test_changelog_no_security.py b/tests/test_changelog_no_security.py
index 8ba1022..8724509 100644
--- a/tests/test_changelog_no_security.py
+++ b/tests/test_changelog_no_security.py
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [1.2.0] - 2018-06-01
 ### Changed
 - Release note 1.
 - Release note 2.
@@ -34,10 +36,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - sub bug 2
 - Bug fix 2
 
-### Security
-- Known issue 1
-- Known issue 2
-
 ### Deprecated
 - Deprecated feature 1
 - Future removal 2
@@ -71,28 +69,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 def test_changelog_with_versions_and_no_security(changelog):
     assert keepachangelog.to_dict(changelog) == {
+        "1.2.0": {
+            "added": [
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
+            ],
+            "changed": ["Release note 1.", "Release note 2."],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "release_date": "2018-06-01",
+            "removed": ["Deprecated feature 2", "Future removal 1"],
+            "version": "1.2.0",
+        },
         "1.1.0": {
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
             "release_date": "2018-05-31",
             "version": "1.1.0",
         },
         "1.0.1": {
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
             "release_date": "2018-05-31",
             "version": "1.0.1",
         },
         "1.0.0": {
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
             "release_date": "2017-04-10",
             "version": "1.0.0",
         },
diff --git a/tests/test_changelog_unreleased.py b/tests/test_changelog_unreleased.py
index 4eb19b5..bf6d2be 100644
--- a/tests/test_changelog_unreleased.py
+++ b/tests/test_changelog_unreleased.py
@@ -19,32 +19,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 ### Changed
-- Release note 1.
-- Release note 2.
+- Release note 1. 
+* Release note 2.
 
 ### Added
 - Enhancement 1
-- sub enhancement 1
-- sub enhancement 2
+ - sub enhancement 1 
+ * sub enhancement 2
 - Enhancement 2
 
 ### Fixed
 - Bug fix 1
-- sub bug 1
-- sub bug 2
+ - sub bug 1
+ * sub bug 2
 - Bug fix 2
 
 ### Security
-- Known issue 1
+* Known issue 1
 - Known issue 2
 
 ### Deprecated
-- Deprecated feature 1
-- Future removal 2
+- Deprecated feature 1 
+* Future removal 2
 
 ### Removed
 - Deprecated feature 2
-- Future removal 1
+* Future removal 1 
 
 ## [1.1.0] - 2018-05-31
 ### Changed
@@ -79,41 +79,41 @@ def test_changelog_with_versions_and_all_categories(changelog):
         "Unreleased": {
             "version": "Unreleased",
             "release_date": None,
-            "changed": ["- Release note 1.", "- Release note 2."],
+            "changed": ["Release note 1.", "Release note 2."],
             "added": [
-                "- Enhancement 1",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2",
+                "Enhancement 1",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2",
             ],
-            "fixed": ["- Bug fix 1", "- sub bug 1", "- sub bug 2", "- Bug fix 2"],
-            "security": ["- Known issue 1", "- Known issue 2"],
-            "deprecated": ["- Deprecated feature 1", "- Future removal 2"],
-            "removed": ["- Deprecated feature 2", "- Future removal 1"],
+            "fixed": ["Bug fix 1", "sub bug 1", "sub bug 2", "Bug fix 2"],
+            "security": ["Known issue 1", "Known issue 2"],
+            "deprecated": ["Deprecated feature 1", "Future removal 2"],
+            "removed": ["Deprecated feature 2", "Future removal 1"],
         },
         "1.1.0": {
             "version": "1.1.0",
             "release_date": "2018-05-31",
             "changed": [
-                "- Enhancement 1 (1.1.0)",
-                "- sub enhancement 1",
-                "- sub enhancement 2",
-                "- Enhancement 2 (1.1.0)",
+                "Enhancement 1 (1.1.0)",
+                "sub enhancement 1",
+                "sub enhancement 2",
+                "Enhancement 2 (1.1.0)",
             ],
         },
         "1.0.1": {
             "version": "1.0.1",
             "release_date": "2018-05-31",
             "fixed": [
-                "- Bug fix 1 (1.0.1)",
-                "- sub bug 1",
-                "- sub bug 2",
-                "- Bug fix 2 (1.0.1)",
+                "Bug fix 1 (1.0.1)",
+                "sub bug 1",
+                "sub bug 2",
+                "Bug fix 2 (1.0.1)",
             ],
         },
         "1.0.0": {
             "version": "1.0.0",
             "release_date": "2017-04-10",
-            "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+            "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
         },
     }
diff --git a/tests/test_starlette.py b/tests/test_starlette.py
index eb8fb7d..f6f21b6 100644
--- a/tests/test_starlette.py
+++ b/tests/test_starlette.py
@@ -79,26 +79,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
         assert response.json() == {
             "1.1.0": {
                 "changed": [
-                    "- Enhancement 1 (1.1.0)",
-                    "- sub enhancement 1",
-                    "- sub enhancement 2",
-                    "- Enhancement 2 (1.1.0)",
+                    "Enhancement 1 (1.1.0)",
+                    "sub enhancement 1",
+                    "sub enhancement 2",
+                    "Enhancement 2 (1.1.0)",
                 ],
                 "release_date": "2018-05-31",
                 "version": "1.1.0",
             },
             "1.0.1": {
                 "fixed": [
-                    "- Bug fix 1 (1.0.1)",
-                    "- sub bug 1",
-                    "- sub bug 2",
-                    "- Bug fix 2 (1.0.1)",
+                    "Bug fix 1 (1.0.1)",
+                    "sub bug 1",
+                    "sub bug 2",
+                    "Bug fix 2 (1.0.1)",
                 ],
                 "release_date": "2018-05-31",
                 "version": "1.0.1",
             },
             "1.0.0": {
-                "deprecated": ["- Known issue 1 (1.0.0)", "- Known issue 2 (1.0.0)"],
+                "deprecated": ["Known issue 1 (1.0.0)", "Known issue 2 (1.0.0)"],
                 "release_date": "2017-04-10",
                 "version": "1.0.0",
             },